Adding virt manager.

This commit is contained in:
CronyAkatsuki 2024-02-24 12:58:54 +01:00
parent c19fe6ad0b
commit da64f0cc9a
2 changed files with 13 additions and 1 deletions

View File

@ -95,4 +95,12 @@
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.
programs.home-manager.enable = true; programs.home-manager.enable = true;
# Home manager settings
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = ["qemu:///system"];
uris = ["qemu:///system"];
};
};
} }

View File

@ -190,7 +190,7 @@
users.users.crony = { users.users.crony = {
isNormalUser = true; isNormalUser = true;
description = "Crony"; description = "Crony";
extraGroups = [ "networkmanager" "wheel" "video" "input" "audio" ]; extraGroups = [ "networkmanager" "wheel" "video" "input" "audio" "libvirtd" ];
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
@ -239,6 +239,10 @@
value = "1048576"; value = "1048576";
}]; }];
# Enable virt manager
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
# DO NOT CHANGE # DO NOT CHANGE
system.stateVersion = "23.11"; system.stateVersion = "23.11";