aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-10-28 09:55:26 +0200
committerKarel Kočí <cynerd@email.cz>2022-10-28 09:55:26 +0200
commit4a224f073a9de8b40c293d8fe93df0ad93862ac7 (patch)
treedcb676444e527df6cde7f134685e69d9cf8413d8
parent323591bb4b3d13ca3e67ab967553301518123793 (diff)
downloadnixos-personal-4a224f073a9de8b40c293d8fe93df0ad93862ac7.tar.gz
nixos-personal-4a224f073a9de8b40c293d8fe93df0ad93862ac7.tar.bz2
nixos-personal-4a224f073a9de8b40c293d8fe93df0ad93862ac7.zip
nixos/develop: add libvirtd
-rw-r--r--nixos/modules/develop.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/develop.nix b/nixos/modules/develop.nix
index 943a601..b03bb8d 100644
--- a/nixos/modules/develop.nix
+++ b/nixos/modules/develop.nix
@@ -28,6 +28,7 @@ in {
# Nix
nix-prefetch-git nix-prefetch-github nix-prefetch-scripts
+ nix-universal-prefetch
rnix-lsp
# Shell
@@ -77,6 +78,7 @@ in {
# Qemmu
qemu
+ virt-manager
# U-Boot
#ubootTools
@@ -117,10 +119,11 @@ in {
recommendedSysctlSettings = true;
};
virtualisation.lxc.enable = true;
+ virtualisation.libvirtd.enable = true;
users.groups.develop = { };
users.users.cynerd.extraGroups = [
- "docker" "lxd" "develop"
+ "docker" "lxd" "develop" "libvirtd"
];
};