summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--hosts/thinklappi.nix1
-rw-r--r--modules/nixos/sils/meta.nix3
2 files changed, 4 insertions, 0 deletions
diff --git a/hosts/thinklappi.nix b/hosts/thinklappi.nix
index 76c769c..3a6c53c 100644
--- a/hosts/thinklappi.nix
+++ b/hosts/thinklappi.nix
@@ -2,6 +2,7 @@
   sils = {
     meta = {
       bootPart = "/dev/disk/by-uuid/4064-2D6C";
+      globalDataDir = "/srv";
       hostname = "thinklappi";
       mainDisk = "/dev/disk/by-uuid/68da1329-f5ea-4f2c-a38e-faffaaaa6b5a";
       rootPart = "/dev/disk/by-uuid/6700d662-29a9-4ea5-8ca6-85d42550b3ab";
diff --git a/modules/nixos/sils/meta.nix b/modules/nixos/sils/meta.nix
index 64982ed..51810b5 100644
--- a/modules/nixos/sils/meta.nix
+++ b/modules/nixos/sils/meta.nix
@@ -4,6 +4,9 @@
       type = lib.types.str;
     };
     bootstrapSystem = lib.mkEnableOption;
+    globalDataDir = lib.mkOption {
+      type = lib.types.str;
+    };
     hostname = lib.mkOption {
       type = lib.types.str;
     };