Archived
0
0
Fork 0

add libvirtd

This commit is contained in:
Daryl Ronningen 2023-05-29 23:03:31 -07:00
parent 7f8c07cb13
commit 98dedde20e
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B
3 changed files with 14 additions and 1 deletions

View file

@ -2,7 +2,7 @@
users.users.relms = {
isNormalUser = true;
description = "Daryl Ronningen";
extraGroups = ["networkmanager" "wheel" "adbusers"];
extraGroups = ["networkmanager" "wheel" "adbusers" "libvirtd"];
shell = pkgs.fish;
hashedPassword = "$y$j9T$fiNCczxfgXQRoDCYlRlgy.$8GVAPknKhtp0kq6g9YnJCaAU1GxE9W9puogCXLLYD2/";
};

12
common/virt/libvirt.nix Normal file
View file

@ -0,0 +1,12 @@
{pkgs, ...}: {
virtualisation.libvirtd = {
enable = true;
qemu = {
package = pkgs.qemu_full;
ovmf.packages = [pkgs.OVMFFull];
swtpm = {
enable = true;
};
};
};
}

View file

@ -97,6 +97,7 @@
++ modules.nixos.desktops.common
++ modules.nixos.desktops.gnome
++ [
./common/virt/libvirt.nix
./devices/skynet/base.nix
nixos-hardware.nixosModules.framework-12th-gen-intel
agenix.nixosModules.default