diff --git a/flake.nix b/flake.nix index dfe7b6a..686ece0 100755 --- a/flake.nix +++ b/flake.nix @@ -174,6 +174,7 @@ ./nixos/presets/desktop/gaming.nix ./nixos/presets/desktop/virtualbox.nix ./nixos/presets/desktop/wayland.nix + ./nixos/presets/desktop/virt-manager.nix # User ./users/guanranwang/nixos/presets/desktop.nix diff --git a/nixos/presets/desktop/virt-manager.nix b/nixos/presets/desktop/virt-manager.nix new file mode 100644 index 0000000..37f8b42 --- /dev/null +++ b/nixos/presets/desktop/virt-manager.nix @@ -0,0 +1,4 @@ +{...}: { + virtualisation.libvirtd.enable = true; + programs.virt-manager.enable = true; +} diff --git a/users/guanranwang/nixos/presets/core.nix b/users/guanranwang/nixos/presets/core.nix index 7f47c4f..0f1ce62 100644 --- a/users/guanranwang/nixos/presets/core.nix +++ b/users/guanranwang/nixos/presets/core.nix @@ -12,6 +12,7 @@ "tss" # access to tpm devices "vboxusers" # access to virtualbox "nix-access-tokens" # access to github tokens + "libvirtd" # access to virt-manager ]; hashedPasswordFile = config.sops.secrets."hashed-passwd".path; shell = pkgs.fish;