From ef378cb921963840e71a5627ebcd552f78a9ddf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sun, 1 Dec 2024 18:41:19 +0200 Subject: [PATCH] jakstpub: no "requires" --- hosts/fwminex/configuration.nix | 2 +- modules/services/jakstpub/default.nix | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix index 5c07db4..9a38dfb 100644 --- a/hosts/fwminex/configuration.nix +++ b/hosts/fwminex/configuration.nix @@ -653,7 +653,7 @@ in jakstpub = { enable = true; dataDir = "/home/motiejus/annex2/vno3-shared"; - requires = [ "data-shared.mount" ]; + #requires = [ "data-shared.mount" ]; uidgid = myData.uidgid.jakstpub; hostname = "hdd.jakstys.lt"; }; diff --git a/modules/services/jakstpub/default.nix b/modules/services/jakstpub/default.nix index d7b419f..05b33dc 100644 --- a/modules/services/jakstpub/default.nix +++ b/modules/services/jakstpub/default.nix @@ -12,7 +12,10 @@ in enable = lib.mkEnableOption "Enable jakstpub"; dataDir = lib.mkOption { type = path; }; # RequiresMountsFor is used by upstream, hacking with the unit - requires = lib.mkOption { type = listOf str; }; + requires = lib.mkOption { + type = listOf str; + default = [ ]; + }; uidgid = lib.mkOption { type = int; }; hostname = lib.mkOption { type = str; }; };