aboutsummaryrefslogtreecommitdiff
path: root/snowfall/modules/nixos/services/ssh/default.nix
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2025-04-14 19:01:38 -0700
committerCaroline Larimore <caroline@larimo.re>2025-04-14 19:01:38 -0700
commite8077fde966e051fc449fffcfa061c7f7edc47b0 (patch)
treea0b1ce60f2718f90c64e924ed8df8d5d4f0d2289 /snowfall/modules/nixos/services/ssh/default.nix
parente486d896215e7ef04438809952bc7317512d5765 (diff)
migration: finalize
Diffstat (limited to 'snowfall/modules/nixos/services/ssh/default.nix')
-rw-r--r--snowfall/modules/nixos/services/ssh/default.nix28
1 files changed, 0 insertions, 28 deletions
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;
- };
- };
- };
-}