This commit is contained in:
mjallen18
2026-03-27 18:25:58 -05:00
parent 8217b83798
commit 5fe8c897aa
9 changed files with 90 additions and 20 deletions

View File

@@ -51,7 +51,7 @@ let
handle @hass {
reverse_proxy http://nuc-nixos.local:8123
}
handle {
respond "Forbidden" 403
}
@@ -60,18 +60,18 @@ let
"sonarr.mjallen.dev" = {
extraConfig = ''
@sonarr {
remote_ip 10.0.1.0/24 10.1.1.0/16
host sonarr.mjallen.dev
}
@sonarr {
remote_ip 10.0.1.0/24 10.1.1.0/16
host sonarr.mjallen.dev
}
handle @sonarr {
reverse_proxy 10.0.1.3:8989
}
handle @sonarr {
reverse_proxy 10.0.1.3:8989
}
handle {
respond "Forbidden" 403
}
handle {
respond "Forbidden" 403
}
'';
};
};

View File

@@ -137,6 +137,7 @@ in
home = "/home/${cfg.name}";
isNormalUser = true;
shell = lib.mkForce pkgs.zsh;
description = cfg.fullName;
# SSH keys - combine user-specific and common keys
openssh.authorizedKeys.keys = cfg.sshKeys ++ (lib.optionals cfg.enableCommonSshKeys commonSshKeys);