wsdd: specify existing hostname
This commit is contained in:
parent
53ce3910aa
commit
bef137b967
@ -86,6 +86,7 @@
|
||||
dataDir = "/data/shared";
|
||||
requires = ["data-shared.mount"];
|
||||
uidgid = myData.uidgid.jakstpub;
|
||||
hostname = "hdd.jakstys.lt";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -11,6 +11,7 @@
|
||||
# RequiresMountsFor is used by upstream, hacking with the unit
|
||||
requires = lib.mkOption {type = listOf str;};
|
||||
uidgid = lib.mkOption {type = int;};
|
||||
hostname = lib.mkOption {type = str;};
|
||||
};
|
||||
|
||||
config = with config.mj.services.jakstpub;
|
||||
@ -42,7 +43,10 @@
|
||||
};
|
||||
};
|
||||
|
||||
services.samba-wsdd.enable = true;
|
||||
services.samba-wsdd = {
|
||||
enable = true;
|
||||
hostname = hostname;
|
||||
};
|
||||
|
||||
users.users.jakstpub = {
|
||||
description = "Jakstys Public";
|
||||
|
Loading…
Reference in New Issue
Block a user