summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authortriethyl <triethylammonium@pm.me>2025-09-08 08:44:45 -0400
committertriethyl <triethylammonium@pm.me>2025-09-08 08:44:45 -0400
commit956030403a24f96a26520dbc05001efaa74f8865 (patch)
tree68d65eaab8dea8d37efba177e5c58120eeecbf98 /nixos
parentdb686dd4b649bc8208b1f0c9e898f6be6127609a (diff)
homelab: working on ssh and git
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/homelab/core/ssh.nix2
-rw-r--r--nixos/modules/homelab/dev/git.nix1
-rw-r--r--nixos/systems/prodesk-server/system.nix1
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"