dotfiles/common/systemModules/vm.nix
2024-10-02 16:36:52 -04:00

15 lines
205 B
Nix

{ NAME }: { ... }: {
virtualisation = {
libvirtd = {
enable = true;
};
};
users = {
users = {
"${NAME}" = {
extraGroups = [ "kvm" "libvirtd" ];
};
};
};
}