add libvirtd
This commit is contained in:
parent
7f8c07cb13
commit
98dedde20e
3 changed files with 14 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
users.users.relms = {
|
users.users.relms = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Daryl Ronningen";
|
description = "Daryl Ronningen";
|
||||||
extraGroups = ["networkmanager" "wheel" "adbusers"];
|
extraGroups = ["networkmanager" "wheel" "adbusers" "libvirtd"];
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
hashedPassword = "$y$j9T$fiNCczxfgXQRoDCYlRlgy.$8GVAPknKhtp0kq6g9YnJCaAU1GxE9W9puogCXLLYD2/";
|
hashedPassword = "$y$j9T$fiNCczxfgXQRoDCYlRlgy.$8GVAPknKhtp0kq6g9YnJCaAU1GxE9W9puogCXLLYD2/";
|
||||||
};
|
};
|
||||||
|
|
12
common/virt/libvirt.nix
Normal file
12
common/virt/libvirt.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
virtualisation.libvirtd = {
|
||||||
|
enable = true;
|
||||||
|
qemu = {
|
||||||
|
package = pkgs.qemu_full;
|
||||||
|
ovmf.packages = [pkgs.OVMFFull];
|
||||||
|
swtpm = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -97,6 +97,7 @@
|
||||||
++ modules.nixos.desktops.common
|
++ modules.nixos.desktops.common
|
||||||
++ modules.nixos.desktops.gnome
|
++ modules.nixos.desktops.gnome
|
||||||
++ [
|
++ [
|
||||||
|
./common/virt/libvirt.nix
|
||||||
./devices/skynet/base.nix
|
./devices/skynet/base.nix
|
||||||
nixos-hardware.nixosModules.framework-12th-gen-intel
|
nixos-hardware.nixosModules.framework-12th-gen-intel
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
|
|
Reference in a new issue