jakstpub: no "requires"

This commit is contained in:
Motiejus Jakštys 2024-12-01 18:41:19 +02:00
parent 9269d2bda4
commit ef378cb921
2 changed files with 5 additions and 2 deletions

View File

@ -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";
};

View File

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