feat: add nix-ld

This commit is contained in:
Thiago Sposito 2025-10-04 10:45:50 -03:00
parent dfa7a012a2
commit 294ab93887
Signed by: thiago
GPG key ID: 3065EA73A976D430
3 changed files with 25 additions and 1 deletions

View file

@ -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";
};
};
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!
time.timeZone = "America/Sao_Paulo";
@ -152,6 +165,7 @@
qemu.ovmf.enable = true;
# qemu.package = pkgs.qemu_full;
};
waydroid.enable = true;
};
zramSwap = {