refactor(caddy): use centralized caddyWithHetzner package definition
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m28s

This commit is contained in:
uttarayan21
2025-08-29 15:56:20 +05:30
parent 0b23cfc75d
commit 3d2f53e8f5
9 changed files with 183 additions and 162 deletions

View File

@@ -6,11 +6,8 @@
}: {
programs.ssh = {
enable = true;
enableDefaultConfig = false;
matchBlocks = {
rpi = {
user = "servius";
hostname = "rpi";
};
tsuba = {
user = "servius";
hostname = "tsuba";
@@ -49,8 +46,14 @@
hostname = "steamdeck";
forwardAgent = true;
};
"*" = {
forwardAgent = false;
addKeysToAgent = "no";
# compression = true;
# HashKnownHosts = "no";
serverAliveInterval = 60;
};
};
serverAliveInterval = 120;
extraConfig =
lib.strings.optionalString (pkgs.stdenv.isDarwin && !device.isServer)
''