From 011713ef9930bcba422838cc37f93aed27e5b659 Mon Sep 17 00:00:00 2001 From: sils Date: Wed, 6 Dec 2023 16:48:26 +0100 Subject: feat(treewide): move virtualisation out of hostconfig --- sys/default.nix | 1 + sys/users/default.nix | 2 +- sys/virtualisation/default.nix | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 sys/virtualisation/default.nix (limited to 'sys') diff --git a/sys/default.nix b/sys/default.nix index a60a9bb..a01da4d 100644 --- a/sys/default.nix +++ b/sys/default.nix @@ -13,6 +13,7 @@ ./sound ./systemd ./users + ./virtualisation ./xdg ]; } diff --git a/sys/users/default.nix b/sys/users/default.nix index 8cef68a..8ff713c 100644 --- a/sys/users/default.nix +++ b/sys/users/default.nix @@ -11,7 +11,7 @@ home = "/home/sils"; shell = pkgs.zsh; initialHashedPassword = "$y$j9T$r4578Hy9jZHmUH9uSr9OI.$SuR2anRq7EJ1gUJ6vi9qYmZrhLP.o3O5643IG6r5Ap/"; - extraGroups = ["wheel" "networkmanager" "video"]; + extraGroups = ["wheel" "networkmanager" "video" "libvirtd"]; }; }; services.xserver.displayManager.autoLogin = { diff --git a/sys/virtualisation/default.nix b/sys/virtualisation/default.nix new file mode 100644 index 0000000..f485cd0 --- /dev/null +++ b/sys/virtualisation/default.nix @@ -0,0 +1,3 @@ +{...}: { + virtualisation.libvirtd.enable = true; +} -- cgit 1.4.1