From 53988b65ffcbcfd0b90d7556e410c925cbd68155 Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Tue, 9 Apr 2024 15:56:14 +0200 Subject: sils.meta: add globalDataDir option --- hosts/thinklappi.nix | 1 + modules/nixos/sils/meta.nix | 3 +++ 2 files changed, 4 insertions(+) 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; }; -- cgit 1.4.1