better vm i think and vm instead of container
This commit is contained in:
parent
9c93951694
commit
2288b88c8e
2 changed files with 10 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
games.enable = true;
|
||||
secureboot.enable = true;
|
||||
extraLayout.enable = true;
|
||||
containers.enable = true;
|
||||
vm.enable = true;
|
||||
|
||||
stateVersion = "24.05";
|
||||
hmStateVersion = "24.11";
|
||||
|
|
|
@ -4,5 +4,14 @@
|
|||
in mkIf conf.vm.enable {
|
||||
virtualisation.libvirtd.enable = true;
|
||||
programs.virt-manager.enable = true;
|
||||
|
||||
users.users.${conf.username}.extraGroups = [ "libvirtd" ];
|
||||
home-manager.users.${conf.username} = {
|
||||
dconf.settings = {
|
||||
"org/virt-manager/virt-manager/connections" = {
|
||||
autoconnect = [ "qemu:///system" ];
|
||||
uris = [ "qemu:///system" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue