.github
.vscode
docs
hydra
keys
lib
modules
pkgs
systems
artemision
ao3_skins
hypr
kernel-patches
audio.nix
configuration.nix
default.nix
desktop.nix
fingerprint.nix
fonts.nix
graphics.nix
hardware.nix
libvirt.nix
polkit.nix
programs.nix
secrets.yaml
steam.nix
stylix.nix
wifi.nix
zerotier.nix
palatine-hill
users
utils
.envrc
.gitconfig
.gitignore
.sops.yaml
CONTRIBUTING.md
README.md
checks.nix
flake.lock
flake.nix
shell.nix
statix.toml
treefmt.toml
31 lines
450 B
Nix
31 lines
450 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
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
|
|
];
|
|
};
|
|
};
|
|
};
|
|
users.users.alice = {
|
|
extraGroups = [ "libvirtd" ];
|
|
};
|
|
|
|
}
|