This commit is contained in:
k 2024-07-19 09:02:23 -04:00
parent ef0623bf7f
commit 6c82b7f348
2 changed files with 17 additions and 1 deletions

View File

@ -68,7 +68,7 @@
users.users.k = {
isNormalUser = true;
description = "k";
extraGroups = [ "networkmanager" "wheel" ];
extraGroups = [ "networkmanager" "wheel" "libvirtd" ];
packages = with pkgs; [zsh];
shell = pkgs.zsh;
};

View File

@ -173,4 +173,20 @@
acceptTerms = true;
defaults.email = "markers711@gmail.com";
};
virtualisation.libvirtd = {
enable = true;
qemu = {
package = pkgs.qemu_kvm;
runAsRoot = true;
swtpm.enable = true;
ovmf = {
enable = true;
packages = [(pkgs.OVMF.override {
secureBoot = true;
tpmSupport = true;
}).fd];
};
};
};
}