diff options
author | sils <sils@sils.li> | 2023-12-06 16:48:26 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2023-12-06 16:48:26 +0100 |
commit | 011713ef9930bcba422838cc37f93aed27e5b659 (patch) | |
tree | f243b68338a08e633d225b1084ee17572c481432 | |
parent | feat(files): add DNSX-CA.pem (diff) | |
download | nix-config-011713ef9930bcba422838cc37f93aed27e5b659.tar.gz nix-config-011713ef9930bcba422838cc37f93aed27e5b659.zip |
feat(treewide): move virtualisation out of hostconfig
Diffstat (limited to '')
-rw-r--r-- | hosts/thinklappi/default.nix | 2 | ||||
-rw-r--r-- | sys/default.nix | 1 | ||||
-rw-r--r-- | sys/users/default.nix | 2 | ||||
-rw-r--r-- | sys/virtualisation/default.nix | 3 |
4 files changed, 5 insertions, 3 deletions
diff --git a/hosts/thinklappi/default.nix b/hosts/thinklappi/default.nix index e212661..06fd052 100644 --- a/hosts/thinklappi/default.nix +++ b/hosts/thinklappi/default.nix @@ -15,8 +15,6 @@ pulseaudio.enable = false; }; - virtualisation.waydroid.enable = false; # Android emulation - security = { rtkit.enable = true; pam.services.swaylock = {}; 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; +} |