virtualization/libvirtd: init
This commit is contained in:
parent
913786f3d2
commit
ead436be82
|
@ -11,6 +11,8 @@
|
|||
seahorse
|
||||
tdesktop
|
||||
thunderbird
|
||||
virt-manager
|
||||
virt-viewer
|
||||
zotero-beta
|
||||
# keep-sorted end
|
||||
];
|
||||
|
|
|
@ -24,6 +24,7 @@ in
|
|||
[
|
||||
wheel.name
|
||||
]
|
||||
++ groupNameIfPresent "libvirtd"
|
||||
++ groupNameIfPresent "pipewire";
|
||||
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