diff --git a/hosts/Drone/default.nix b/hosts/Drone/default.nix index 52f81bd..2d1730e 100755 --- a/hosts/Drone/default.nix +++ b/hosts/Drone/default.nix @@ -8,7 +8,7 @@ ../../modules/nixos/programs/bash.nix ../../modules/nixos/programs/git.nix - ../../modules/nixos/services/openssh.nix + ../../modules/nixos/services/tailscale.nix ../../modules/nixos/services/homeserver ]; @@ -67,12 +67,6 @@ allowedUDPPortRanges = []; }; - # for cloudflare browser ssh - services.openssh.settings.Macs = [ - "hmac-sha2-512" - "hmac-sha2-256" - ]; - system.stateVersion = "25.05"; } diff --git a/hosts/Gutterman/default.nix b/hosts/Gutterman/default.nix index 8437a4f..43fbded 100644 --- a/hosts/Gutterman/default.nix +++ b/hosts/Gutterman/default.nix @@ -8,8 +8,6 @@ ../../modules/nixos/programs/bash.nix ../../modules/nixos/programs/git.nix - - ../../modules/nixos/services/openssh.nix ../../modules/nixos/system/headless.nix ../../modules/nixos/system/minimal.nix diff --git a/hosts/Swordsmachine/default.nix b/hosts/Swordsmachine/default.nix index 5933a19..2c4db0b 100755 --- a/hosts/Swordsmachine/default.nix +++ b/hosts/Swordsmachine/default.nix @@ -11,7 +11,6 @@ ../../modules/nixos/programs/desktop/niri/niri/window-rules/single-monitor.nix ../../modules/nixos/programs/desktop/niri/niri/workspaces/single-monitor.nix - ../../modules/nixos/services/openssh.nix ../../modules/nixos/services/tailscale.nix ../../modules/nixos/system/colors.nix diff --git a/modules/nixos/services/default.nix b/modules/nixos/services/default.nix index 490a52c..0981322 100644 --- a/modules/nixos/services/default.nix +++ b/modules/nixos/services/default.nix @@ -3,7 +3,6 @@ { imports = [ ./mumble.nix - ./openssh.nix ./tailscale.nix ]; } \ No newline at end of file diff --git a/modules/nixos/services/openssh.nix b/modules/nixos/services/openssh.nix deleted file mode 100755 index 6dbcd23..0000000 --- a/modules/nixos/services/openssh.nix +++ /dev/null @@ -1,14 +0,0 @@ -{ config, ... }: - -{ - services.openssh = { - enable = true; - ports = [ 8743 ]; - settings = { - PasswordAuthentication = false; - KbdInteractiveAuthentication = false; - PermitRootLogin = "no"; - AllowUsers = [ "wo2w" ]; - }; - }; -} \ No newline at end of file