Files
nixos/hosts/linode/default.nix
T

75 lines
1.4 KiB
Nix
Raw Normal View History

2024-10-19 01:19:59 -05:00
{
pkgs,
lib,
config,
...
}:
2022-04-12 02:33:46 +00: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
];
greg = {
home = false;
linode.enable = 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;
};
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" ];
};
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-05-01 19:46:34 +00:00
2024-10-19 01:19:59 -05:00
security.sudo.extraRules = [
{
users = [ "gitlab-runner" ];
commands = [
{
command = "/run/current-system/sw/bin/systemctl";
options = [ "NOPASSWD" ];
}
{
command = "/run/current-system/sw/bin/podman";
options = [ "NOPASSWD" ];
}
];
}
2024-10-19 01:19:59 -05:00
];
2022-04-12 02:33:46 +00:00
}