Installed libvirt

This commit is contained in:
2026-04-15 21:12:18 +02:00
parent 42edee447a
commit 7edf357ff5
2 changed files with 14 additions and 1 deletions

View File

@@ -18,6 +18,7 @@
homeDirectory = "/home/typo";
stateVersion = "25.11";
packages = with pkgs; [
virt-manager
pass-autotype
winbox4
legacy-launcher

View File

@@ -64,7 +64,10 @@
typo = {
description = "Typo Mustakes";
isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user.
extraGroups = [
"wheel"
"libvirtd"
];
home = "/home/typo";
shell = pkgs.fish;
};
@@ -85,6 +88,15 @@
users.typo = ../home/common.nix;
};
virtualisation.libvirtd = {
enable = true;
qemu = {
package = pkgs.qemu_kvm;
runAsRoot = true;
swtpm.enable = true;
};
};
programs = {
# firefox.enable = true;
steam.enable = true;