vms
This commit is contained in:
parent
f61cf15edc
commit
e5a2f8339e
1 changed files with 7 additions and 1 deletions
|
@ -88,7 +88,7 @@
|
|||
users.users.${config.user} = {
|
||||
isNormalUser = true;
|
||||
description = config.fullName;
|
||||
extraGroups = [ "networkmanager" "wheel" "sys" "video" "audio" "docker" ];
|
||||
extraGroups = [ "networkmanager" "wheel" "sys" "video" "audio" "docker" "libvirtd" ];
|
||||
home = config.homePath;
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
@ -138,4 +138,10 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
|
||||
# vms
|
||||
programs.virt-manager.enable = true;
|
||||
users.groups.libvirtd.members = [config.user];
|
||||
virtualisation.libvirtd.enable = true;
|
||||
virtualisation.spiceUSBRedirection.enable = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue