Change to libvirtd for virtual machines
This commit is contained in:
parent
8211765df4
commit
a12e401ed9
2 changed files with 13 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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" ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue