diff options
Diffstat (limited to 'nixos')
| -rw-r--r-- | nixos/modules/homelab/core/ssh.nix | 2 | ||||
| -rw-r--r-- | nixos/modules/homelab/dev/git.nix | 1 | ||||
| -rw-r--r-- | nixos/systems/prodesk-server/system.nix | 1 |
3 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/homelab/core/ssh.nix b/nixos/modules/homelab/core/ssh.nix index 1b4b559..9995b1c 100644 --- a/nixos/modules/homelab/core/ssh.nix +++ b/nixos/modules/homelab/core/ssh.nix @@ -7,7 +7,7 @@ in { config = lib.mkIf cfg.enable { services.openssh = { enable = true; - ports = [ 2200 ]; + ports = [ 22 2200 ]; settings = { PermitRootLogin = "no"; PasswordAuthentication = false; diff --git a/nixos/modules/homelab/dev/git.nix b/nixos/modules/homelab/dev/git.nix index aeb3124..464b501 100644 --- a/nixos/modules/homelab/dev/git.nix +++ b/nixos/modules/homelab/dev/git.nix @@ -22,7 +22,6 @@ in { isSystemUser = true; description = lib.mkForce "git user"; home = "/srv/git"; - shell = "${pkgs.git}/bin/git-shell"; extraGroups = [ "git" ]; }; services.gitolite = { diff --git a/nixos/systems/prodesk-server/system.nix b/nixos/systems/prodesk-server/system.nix index 7767e94..d994fe5 100644 --- a/nixos/systems/prodesk-server/system.nix +++ b/nixos/systems/prodesk-server/system.nix @@ -18,6 +18,7 @@ description = "Server"; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMcc7hXixElOgv87LlY1LgCQ9oOT6Lj66wjCh1uRqpQt culsans@nzxt-desktop" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM/HLlWDshs3Fn4pbTrUeSdo/2/YWuBEMpQX15ZR0RNv lucas@thinkpad-laptop" ]; extraGroups = [ "networkmanager" |
