diff options
Diffstat (limited to 'modules/hosts/openssh')
| -rw-r--r-- | modules/hosts/openssh/default.nix | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/modules/hosts/openssh/default.nix b/modules/hosts/openssh/default.nix deleted file mode 100644 index 49c0527..0000000 --- a/modules/hosts/openssh/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ - config, - username, - lib, - ... -}: -let - inherit (lib) mkOption types mkIf; - cfg = config.nx.services.openssh; -in -{ - options.nx.services.openssh.enable = mkOption { - description = "Setup openssh server"; - type = types.bool; - default = false; - }; - config = mkIf cfg.enable { - services.openssh = { - enable = true; - settings = { - AllowUsers = [ username ]; - }; - }; - }; -} |
