about summary refs log tree commit diff
path: root/modules/nixos/lxc.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-02-09 01:36:39 +0300
committerAzat Bahawi <azat@bahawi.net>2024-02-09 01:36:39 +0300
commita63bd773b9dfce7d71a5a87d167755a22ccf0c3c (patch)
tree0fe881090fdda186cb9349ac661a0d93d65ee4f2 /modules/nixos/lxc.nix
parent2024-02-01 (diff)
2024-02-09
Diffstat (limited to '')
-rw-r--r--modules/nixos/lxc.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/nixos/lxc.nix b/modules/nixos/lxc.nix
index bfdab8f..1306497 100644
--- a/modules/nixos/lxc.nix
+++ b/modules/nixos/lxc.nix
@@ -9,7 +9,10 @@ in {
   options.nixfiles.modules.lxc.enable = mkEnableOption "LXC/Incus";
 
   config = mkIf cfg.enable {
+    ark.directories = ["/var/lib/incus"];
+
     virtualisation.incus.enable = true;
+
     my.extraGroups = ["incus-admin"];
   };
 }

Consider giving Nix/NixOS a try! <3