Flake for my NixOS devices

Fix some impermanence stuff

bwc9876.dev 954a8c04 4418b81a

verified
+5 -7
+1 -1
homeModules/keepassxc.nix
··· 14 14 }; 15 15 16 16 config = lib.mkIf config.cow.keepassxc.enable { 17 - cow.imperm.keep = [".config/keepassxc"]; 17 + cow.imperm.keepCache = [".config/keepassxc"]; 18 18 19 19 wayland.windowManager.hyprland.settings.exec-once = 20 20 lib.optionals (config.cow.gdi.enable && config.cow.keepassxc.dbPath != null)
+4 -6
nixosModules/hypervisor.nix
··· 1 - { ... }: 2 - { 1 + {...}: { 3 2 config, 4 3 lib, 5 4 pkgs, 6 5 ... 7 - }: 8 - { 6 + }: { 9 7 options.cow.hypervisor = { 10 8 enable = lib.mkEnableOption "Enable running VMs"; 11 9 }; 12 10 13 11 config = lib.mkIf config.cow.hypervisor.enable { 14 - users.users.bean.extraGroups = lib.mkIf config.cow.bean.enable [ "libvirtd" ]; 12 + users.users.bean.extraGroups = lib.mkIf config.cow.bean.enable ["libvirtd"]; 15 13 16 - cow.imperm.keep = [ "/var/lib/libvirt" ]; 14 + cow.imperm.keepCache = ["/var/lib/libvirt"]; 17 15 18 16 programs.virt-manager.enable = config.cow.gdi.enable; 19 17