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

@@ -1,6 +1,7 @@
{
device,
pkgs,
stablePkgs,
...
}: let
config = {
@@ -52,6 +53,6 @@
};
};
in {
programs.librewolf = config;
programs.librewolf = config // {package = stablePkgs.librewolf;};
# programs.firefox = config;
}

View File

@@ -5,6 +5,6 @@
}: {
home.packages = lib.optionals pkgs.stdenv.isLinux [
pkgs.jellyflix
pkgs.jellyfin-media-player
# pkgs.jellyfin-media-player
];
}

View File

@@ -1,7 +1,11 @@
{pkgs, ...}: {
{
pkgs,
stablePkgs,
...
}: {
programs.thunderbird = {
enable = pkgs.stdenv.isLinux;
profiles = {
};
profiles = {};
package = stablePkgs.thunderbird;
};
}

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)
''