2024-10-19 01:19:59 -05:00
|
|
|
{
|
|
|
|
|
pkgs,
|
|
|
|
|
lib,
|
|
|
|
|
config,
|
|
|
|
|
...
|
|
|
|
|
}:
|
2022-04-12 02:33:46 +00:00
|
|
|
|
|
|
|
|
{
|
2024-10-03 11:26:39 -05:00
|
|
|
imports = [
|
|
|
|
|
./git.nix
|
|
|
|
|
./hardware-configuration.nix
|
|
|
|
|
./podman.nix
|
|
|
|
|
./matrix.nix
|
|
|
|
|
./nextcloud.nix
|
|
|
|
|
./nginx.nix
|
|
|
|
|
./postgres.nix
|
|
|
|
|
];
|
2024-02-07 07:43:10 +00:00
|
|
|
|
2025-12-06 22:28:03 -06:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
|
bind
|
|
|
|
|
graphviz
|
|
|
|
|
nix-du
|
|
|
|
|
pgloader
|
|
|
|
|
];
|
|
|
|
|
|
2024-10-03 11:26:39 -05:00
|
|
|
greg = {
|
2026-04-05 16:51:31 -05:00
|
|
|
gitea-runner = {
|
|
|
|
|
enable = true;
|
|
|
|
|
extraLabels = [
|
|
|
|
|
"vps:host"
|
|
|
|
|
"blog:host"
|
|
|
|
|
];
|
|
|
|
|
};
|
2024-10-03 11:26:39 -05:00
|
|
|
home = false;
|
|
|
|
|
linode.enable = true;
|
2026-03-28 23:24:52 -05:00
|
|
|
nebula = {
|
|
|
|
|
enable = true;
|
|
|
|
|
isLighthouse = true;
|
|
|
|
|
};
|
2025-12-06 22:28:03 -06:00
|
|
|
proxies."immich.thehellings.com" = {
|
|
|
|
|
genAliases = false;
|
|
|
|
|
target = "http://localhost:${builtins.toString config.services.immich-public-proxy.port}";
|
|
|
|
|
ssl = true;
|
|
|
|
|
};
|
2024-10-03 11:26:39 -05:00
|
|
|
tailscale.enable = true;
|
|
|
|
|
};
|
2024-02-07 07:43:10 +00:00
|
|
|
|
2025-12-06 22:28:03 -06:00
|
|
|
networking = {
|
|
|
|
|
networkmanager.enable = lib.mkForce false;
|
|
|
|
|
hostName = "linode";
|
|
|
|
|
domain = "thehellings.com";
|
|
|
|
|
nameservers = [ "100.88.91.27" ];
|
|
|
|
|
};
|
|
|
|
|
|
2024-10-03 11:26:39 -05:00
|
|
|
programs.ssh.extraConfig = lib.strings.concatStringsSep "\n" [
|
|
|
|
|
"Host chronicles.shire-zebra.ts.net"
|
|
|
|
|
" User backup"
|
|
|
|
|
" IdentityFile /etc/ssh/backup_ed25519"
|
|
|
|
|
" StrictHostKeyChecking no"
|
|
|
|
|
" UserKnownHostsFile /dev/null"
|
|
|
|
|
];
|
2024-02-07 07:43:10 +00:00
|
|
|
|
2025-12-06 22:28:03 -06:00
|
|
|
services = {
|
|
|
|
|
immich-public-proxy = {
|
|
|
|
|
enable = true;
|
|
|
|
|
immichUrl = "https://immich.shire-zebra.ts.net";
|
2024-10-03 11:26:39 -05:00
|
|
|
};
|
|
|
|
|
};
|
2022-04-12 02:33:46 +00:00
|
|
|
}
|