{ config, lib, pkgs, git_url, ... }: { imports = [ ./hardware-configuration.nix ]; boot.loader.grub.enable = true; boot.loader.grub.device = "/dev/sda"; networking.hostName = "status"; networking.domain = "domain.com"; time.timeZone = "UTC"; services.openssh = { enable = true; settings = { PermitRootLogin = "prohibit-password"; PasswordAuthentication = false; }; }; environment.systemPackages = with pkgs; [ curl tmux wget bash ]; # Central nginx subdomain mapping example (enable when ready): # infra.nginx = { # enable = true; # vhosts."pad.${config.networking.domain}" = { # description = "HedgeDoc"; # internal_proxy = "http://localhost:3000"; # websockets = true; # }; # }; infra.autoUpdate = { enable = true; # selects the nixosConfigurations.status.domain.com output from the flake flake = "${git_url}#status.domain.com"; allowReboot = true; }; system.stateVersion = "26.05"; }