feat(virt): enable hardware acceleration for qemu
This commit is contained in:
parent
bfcfe52d47
commit
65c726ecd2
2 changed files with 13 additions and 1 deletions
|
|
@ -103,7 +103,7 @@
|
|||
initialPassword = "asunarovow";
|
||||
isNormalUser = true;
|
||||
description = "Khaïs COLIN";
|
||||
extraGroups = [ "networkmanager" "wheel" "podman" ];
|
||||
extraGroups = [ "networkmanager" "wheel" "podman" "libvirtd" ];
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
|
|
@ -259,6 +259,10 @@
|
|||
dockerSocket.enable = true;
|
||||
};
|
||||
|
||||
# enable hardware acceleration for qemu
|
||||
virtualisation.libvirtd.enable = true;
|
||||
programs.virt-manager.enable = true;
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
|
|
|
|||
|
|
@ -108,4 +108,12 @@ in {
|
|||
};
|
||||
};
|
||||
programs.fuzzel.enable = true;
|
||||
|
||||
# default connection to qemu for virt-manager
|
||||
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