nixos-config/hosts/cumulus/default.nix

38 lines
798 B
Nix

{ config, ... }:
{
system.stateVersion = "24.11";
custom = {
sops.enable = true;
boot.loader.grub.enable = true;
users.seb.enable = true;
services = {
resolved.enable = true;
tailscale = {
enable = true;
ssh.enable = true;
};
uptimeKuma = {
enable = true;
domain = "uptime.${config.custom.services.tailscale.domain}";
backups.enable = true;
};
ntfy = {
enable = true;
domain = "notify.${config.custom.services.tailscale.domain}";
};
caddy.virtualHosts = {
uptimeKuma = {
inherit (config.custom.services.uptimeKuma) domain port;
};
ntfy = {
inherit (config.custom.services.ntfy) domain port;
};
};
};
};
}