about summary refs log tree commit diff
path: root/modules/nixos/lxc.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-01-21 15:11:34 +0300
committerAzat Bahawi <azat@bahawi.net>2024-01-21 15:11:34 +0300
commit8dd4dce913b60163afb0b4a9bdecc79c0c7ef873 (patch)
tree7fac2f22f4c1db027469bcebdd7af159b56aa412 /modules/nixos/lxc.nix
parent2024-01-17 (diff)
2024-01-21
Diffstat (limited to '')
-rw-r--r--modules/nixos/lxc.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/nixos/lxc.nix b/modules/nixos/lxc.nix
index 4f7805f..bfdab8f 100644
--- a/modules/nixos/lxc.nix
+++ b/modules/nixos/lxc.nix
@@ -6,11 +6,10 @@
 with lib; let
   cfg = config.nixfiles.modules.lxc;
 in {
-  options.nixfiles.modules.lxc.enable =
-    mkEnableOption "LXC/LXD";
+  options.nixfiles.modules.lxc.enable = mkEnableOption "LXC/Incus";
 
   config = mkIf cfg.enable {
-    virtualisation.lxd.enable = true;
-    my.extraGroups = "lxd";
+    virtualisation.incus.enable = true;
+    my.extraGroups = ["incus-admin"];
   };
 }

Consider giving Nix/NixOS a try! <3