From e8077fde966e051fc449fffcfa061c7f7edc47b0 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Mon, 14 Apr 2025 19:01:38 -0700 Subject: migration: finalize --- snowfall/modules/nixos/services/ssh/default.nix | 28 ------------------------- 1 file changed, 28 deletions(-) delete mode 100644 snowfall/modules/nixos/services/ssh/default.nix (limited to 'snowfall/modules/nixos/services/ssh/default.nix') diff --git a/snowfall/modules/nixos/services/ssh/default.nix b/snowfall/modules/nixos/services/ssh/default.nix deleted file mode 100644 index 6856897..0000000 --- a/snowfall/modules/nixos/services/ssh/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ options, config, lib, namespace, ... }: - -with lib; with lib.${namespace}; let - cfg = config.${namespace}.services.ssh; - impermanence = config.${namespace}.system.impermanence; -in { - options.${namespace}.services.ssh = with types; { - enable = mkEnableOption "ssh server"; - - port = mkOption { - type = types.port; - default = 22; - description = "ssh server port"; - }; - }; - - config = mkIf cfg.enable { - openssh = { - enable = true; - ports = [ cfg.port ]; - - settings = { - PermitRootLogin = "no"; - PasswordAuthentication = false; - }; - }; - }; -} -- cgit v1.2.3