virtualization/libvirtd: init
This commit is contained in:
parent
913786f3d2
commit
ead436be82
|
@ -11,6 +11,8 @@
|
||||||
seahorse
|
seahorse
|
||||||
tdesktop
|
tdesktop
|
||||||
thunderbird
|
thunderbird
|
||||||
|
virt-manager
|
||||||
|
virt-viewer
|
||||||
zotero-beta
|
zotero-beta
|
||||||
# keep-sorted end
|
# keep-sorted end
|
||||||
];
|
];
|
||||||
|
|
|
@ -24,6 +24,7 @@ in
|
||||||
[
|
[
|
||||||
wheel.name
|
wheel.name
|
||||||
]
|
]
|
||||||
|
++ groupNameIfPresent "libvirtd"
|
||||||
++ groupNameIfPresent "pipewire";
|
++ groupNameIfPresent "pipewire";
|
||||||
openssh.authorizedKeys.keyFiles = config.users.users.root.openssh.authorizedKeys.keyFiles;
|
openssh.authorizedKeys.keyFiles = config.users.users.root.openssh.authorizedKeys.keyFiles;
|
||||||
};
|
};
|
||||||
|
|
12
nixos/profiles/virtualization/libvirtd/default.nix
Normal file
12
nixos/profiles/virtualization/libvirtd/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
virtualisation.libvirtd = {
|
||||||
|
enable = true;
|
||||||
|
qemu = {
|
||||||
|
runAsRoot = false;
|
||||||
|
swtpm.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.globalPersistence.user.directories = [ ".config/libvirt" ];
|
||||||
|
}
|
Loading…
Reference in a new issue