summary refs log tree commit diff stats
path: root/modules/nixos/vhack/openssh/default.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-20 13:58:21 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-20 13:58:21 +0100
commit33639143ea50404a04bc4c454435aff1bd79dd4b (patch)
treeede4b6832bb86ac30281fc22700ae1fe40658f37 /modules/nixos/vhack/openssh/default.nix
parentfix(treewide): Update to nixos release 24.11 (diff)
downloadnixos-server-33639143ea50404a04bc4c454435aff1bd79dd4b.tar.gz
nixos-server-33639143ea50404a04bc4c454435aff1bd79dd4b.zip
refactor({modules,test}): Migrate to a `by-name` structure
Diffstat (limited to 'modules/nixos/vhack/openssh/default.nix')
-rw-r--r--modules/nixos/vhack/openssh/default.nix31
1 files changed, 0 insertions, 31 deletions
diff --git a/modules/nixos/vhack/openssh/default.nix b/modules/nixos/vhack/openssh/default.nix
deleted file mode 100644
index 30d16a6..0000000
--- a/modules/nixos/vhack/openssh/default.nix
+++ /dev/null
@@ -1,31 +0,0 @@
-{
-  config,
-  lib,
-  ...
-}: let
-  cfg = config.vhack.openssh;
-in {
-  options.vhack.openssh = {
-    enable = lib.mkEnableOption ''
-      a sane openssh implementation.
-    '';
-  };
-
-  config = lib.mkIf cfg.enable {
-    services.openssh = {
-      enable = true;
-      settings.PasswordAuthentication = false;
-      hostKeys = [
-        {
-          # See the explanation for this in /system/impermanence/mods/openssh.nix
-          # path = "/var/lib/sshd/ssh_host_ed25519_key";
-
-          # FIXME: Remove this workaround
-          path = "/srv/var/lib/sshd/ssh_host_ed25519_key";
-          rounds = 1000;
-          type = "ed25519";
-        }
-      ];
-    };
-  };
-}