add libvirt
This commit is contained in:
parent
5199d55c29
commit
48f9a7ad02
@ -96,6 +96,24 @@
|
||||
thermald.enable = true;
|
||||
};
|
||||
|
||||
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
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
stylix = {
|
||||
enable = true;
|
||||
autoEnable = true;
|
||||
@ -158,7 +176,7 @@
|
||||
users.users.k = {
|
||||
isNormalUser = true;
|
||||
description = "k";
|
||||
extraGroups = ["networkmanager" "wheel"];
|
||||
extraGroups = ["networkmanager" "wheel" "cdrom" "libvirtd"];
|
||||
packages = with pkgs; [nushell];
|
||||
shell = pkgs.nushell;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user