nixos,presets: add desktop/virt-manager
This commit is contained in:
parent
71cff0a10d
commit
3601c15404
3 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
4
nixos/presets/desktop/virt-manager.nix
Normal file
4
nixos/presets/desktop/virt-manager.nix
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{...}: {
|
||||||
|
virtualisation.libvirtd.enable = true;
|
||||||
|
programs.virt-manager.enable = true;
|
||||||
|
}
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue