added options to build with to avoid removing and re-adding stuff
This commit is contained in:
parent
90b5d970be
commit
066b65c34c
8 changed files with 81 additions and 56 deletions
5
modules/system/virt.nix
Normal file
5
modules/system/virt.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ lib, config, ... }: lib.mkIf (config.withVM) {
|
||||
virtualisation.libvirtd.enable = true;
|
||||
programs.virt-manager.enable = true;
|
||||
users.users.twoneis.extraGroups = [ "libvirtd" ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue