feat: add nix-ld
This commit is contained in:
parent
dfa7a012a2
commit
294ab93887
3 changed files with 25 additions and 1 deletions
|
|
@ -20,5 +20,7 @@
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
heroic
|
heroic
|
||||||
steam
|
steam
|
||||||
|
steam-run
|
||||||
|
code-cursor
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -141,6 +141,19 @@
|
||||||
ExecStart = "${pkgs.btrfs-progs}/bin/btrfs scrub start -n 2 -B / && ${pkgs.btrfs-progs}/bin/btrfs scrub start -n 2 -B /mnt/hdd0";
|
ExecStart = "${pkgs.btrfs-progs}/bin/btrfs scrub start -n 2 -B / && ${pkgs.btrfs-progs}/bin/btrfs scrub start -n 2 -B /mnt/hdd0";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
waydroid-config = {
|
||||||
|
description = "Configure Waydroid Properties";
|
||||||
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
after = [ "waydroid-container.service" ];
|
||||||
|
serviceConfig = {
|
||||||
|
Type = "oneshot";
|
||||||
|
ExecStart = pkgs.writeShellScript "waydroid-config" ''
|
||||||
|
echo "ro.hardware.gralloc=default" >> /var/lib/waydroid/waydroid_base.prop
|
||||||
|
echo "ro.hardware.egl=swiftshader" >> /var/lib/waydroid/waydroid_base.prop
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
system.stateVersion = "25.11"; # keep it!
|
system.stateVersion = "25.11"; # keep it!
|
||||||
time.timeZone = "America/Sao_Paulo";
|
time.timeZone = "America/Sao_Paulo";
|
||||||
|
|
@ -152,6 +165,7 @@
|
||||||
qemu.ovmf.enable = true;
|
qemu.ovmf.enable = true;
|
||||||
# qemu.package = pkgs.qemu_full;
|
# qemu.package = pkgs.qemu_full;
|
||||||
};
|
};
|
||||||
|
waydroid.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
zramSwap = {
|
zramSwap = {
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@
|
||||||
keymapp
|
keymapp
|
||||||
libnitrokey
|
libnitrokey
|
||||||
libusb1
|
libusb1
|
||||||
|
nix-ld
|
||||||
opensc
|
opensc
|
||||||
pciutils
|
pciutils
|
||||||
pcsc-safenet
|
pcsc-safenet
|
||||||
|
|
@ -58,13 +59,20 @@
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
programs = {
|
programs = {
|
||||||
zsh.enable = true;
|
|
||||||
gnupg = {
|
gnupg = {
|
||||||
agent = {
|
agent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
pinentryPackage = pkgs.pinentry-tty;
|
pinentryPackage = pkgs.pinentry-tty;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
nix-ld = {
|
||||||
|
enable = true;
|
||||||
|
libraries = with pkgs; [
|
||||||
|
glibc
|
||||||
|
zlib
|
||||||
|
];
|
||||||
|
};
|
||||||
|
zsh.enable = true;
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
pcscd.enable = true;
|
pcscd.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue