feat(nixos): add gws and fix switch blockers

This commit is contained in:
2026-03-05 07:25:48 -08:00
committed by Kat Huang
parent b9cc925b19
commit 8dc5d146b8
4 changed files with 11 additions and 1 deletions

View File

@@ -49,6 +49,10 @@
programs.virt-manager.enable = true;
virtualisation.libvirtd.enable = true;
virtualisation.spiceUSBRedirection.enable = true;
systemd.services.virt-secret-init-encryption.serviceConfig.ExecStart = lib.mkForce [
""
"${pkgs.runtimeShell} -c 'umask 0077 && (dd if=/dev/random status=none bs=32 count=1 | systemd-creds encrypt --name=secrets-encryption-key - /var/lib/libvirt/secrets/secrets-encryption-key)'"
];
services.xserver.dpi = 96;
# linuxPackages_latest (6.19) currently fails to build nvidia-open.