config

NixOS config
Log | Files | Refs | README | LICENSE

commit ef378cb921963840e71a5627ebcd552f78a9ddf9 (tree)
parent 9269d2bda442fdab866aaadcf316a99a02af64cc
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date:   Sun,  1 Dec 2024 18:41:19 +0200

jakstpub: no "requires"

Diffstat:
Mhosts/fwminex/configuration.nix | 2+-
Mmodules/services/jakstpub/default.nix | 5++++-
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git 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 @@ -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; }; };