1
0
Fork 0

Change to libvirtd for virtual machines

This commit is contained in:
Avery 2025-01-15 15:38:48 +01:00
parent 8211765df4
commit a12e401ed9
Signed by: Avery
GPG key ID: B684FD451B692E04
2 changed files with 13 additions and 2 deletions

View file

@ -10,6 +10,12 @@
./sway.nix ./sway.nix
./qt.nix ./qt.nix
]; ];
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = [ "qemu:///system" ];
uris = [ "qemu:///system" ];
};
};
home = { home = {
packages = with pkgs; [ packages = with pkgs; [
gimp gimp

View file

@ -86,6 +86,7 @@
dconf.enable = true; dconf.enable = true;
nix-ld.enable = true; nix-ld.enable = true;
hyprland.enable = true; hyprland.enable = true;
virt-manager.enable = true;
}; };
security.polkit = { enable = true; }; security.polkit = { enable = true; };
@ -227,8 +228,12 @@
age.keyFile = "/home/avery/.config/sops/age/keys.txt"; age.keyFile = "/home/avery/.config/sops/age/keys.txt";
}; };
virtualisation.virtualbox.host.enable = true;
system.stateVersion = "24.05"; system.stateVersion = "24.05";
users.users.avery.extraGroups = [ "corectrl" ]; virtualisation = {
libvirtd.enable = true;
spiceUSBRedirection = true;
};
users.users.avery.extraGroups = [ "corectrl" "libvirt" ];
} }