{ config, pkgs, ... }: { system.stateVersion = "24.11"; networking.hostName = "noisebell"; # Decrypted at runtime by agenix age.secrets.endpoint-url.file = ./secrets/endpoint-url.age; age.secrets.tailscale-auth-key.file = ./secrets/tailscale-auth-key.age; services.noisebell = { enable = true; port = 80; endpointUrlFile = config.age.secrets.endpoint-url.path; }; nix.settings.experimental-features = [ "nix-command" "flakes" ]; services.tailscale = { enable = true; authKeyFile = config.age.secrets.tailscale-auth-key.path; }; services.openssh.enable = true; networking.firewall = { trustedInterfaces = [ "tailscale0" ]; allowedUDPPorts = [ config.services.tailscale.port ]; }; users.users.root.openssh.authorizedKeys.keys = [ ]; }