remove servers option
This commit is contained in:
parent
8744f3a6c8
commit
b6ac2665c9
10
module.nix
10
module.nix
@ -13,13 +13,8 @@ in
|
||||
services.tsns = {
|
||||
package = mkPackageOption pkgs "tsns" { };
|
||||
|
||||
servers = mkOption {
|
||||
description = "Configuration of multiple `tsns` instalces.";
|
||||
default = { };
|
||||
|
||||
type = with types; attrsOf (submodule ({ name, ... }: {
|
||||
options = {
|
||||
enable = lib.mkEnableOption "Enable tsns for ${name}";
|
||||
|
||||
user = mkOption {
|
||||
type = with types; oneOf [ str int ];
|
||||
default = name;
|
||||
@ -42,9 +37,6 @@ in
|
||||
description = "Path tsns home directory";
|
||||
};
|
||||
};
|
||||
}));
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf (enabledServers != { }) {
|
||||
|
Loading…
Reference in New Issue
Block a user