summaryrefslogtreecommitdiff
path: root/nixos/modules/homelab
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/homelab')
-rw-r--r--nixos/modules/homelab/core/ssh.nix2
-rw-r--r--nixos/modules/homelab/dev/git.nix1
2 files changed, 1 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 = {