nixos,presets: add desktop/virt-manager

This commit is contained in:
Guanran Wang 2023-11-08 23:58:02 +08:00
parent 71cff0a10d
commit 3601c15404
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
3 changed files with 6 additions and 0 deletions

View file

@ -174,6 +174,7 @@
./nixos/presets/desktop/gaming.nix ./nixos/presets/desktop/gaming.nix
./nixos/presets/desktop/virtualbox.nix ./nixos/presets/desktop/virtualbox.nix
./nixos/presets/desktop/wayland.nix ./nixos/presets/desktop/wayland.nix
./nixos/presets/desktop/virt-manager.nix
# User # User
./users/guanranwang/nixos/presets/desktop.nix ./users/guanranwang/nixos/presets/desktop.nix

View file

@ -0,0 +1,4 @@
{...}: {
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
}

View file

@ -12,6 +12,7 @@
"tss" # access to tpm devices "tss" # access to tpm devices
"vboxusers" # access to virtualbox "vboxusers" # access to virtualbox
"nix-access-tokens" # access to github tokens "nix-access-tokens" # access to github tokens
"libvirtd" # access to virt-manager
]; ];
hashedPasswordFile = config.sops.secrets."hashed-passwd".path; hashedPasswordFile = config.sops.secrets."hashed-passwd".path;
shell = pkgs.fish; shell = pkgs.fish;