{ config, lib, pkgs, git_url, ... }: { imports = [ ./hardware-configuration.nix ]; boot.loader.grub.enable = true; boot.loader.grub.device = "/dev/sda"; networking.hostName = "deploy"; 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 ]; infra.acme = { enable = true; email = "admin@${config.networking.domain}"; }; infra.gitea = { enable = true; hostname = "git.${config.networking.domain}"; oidc = { enable = true; clientId = "gitea"; clientSecretFile = "/etc/gitea-oidc-secret"; }; }; infra.autoUpdate = { enable = true; # selects the nixosConfigurations.deploy.domain.com output from the flake flake = "${git_url}#deploy.domain.com"; allowReboot = true; }; system.stateVersion = "26.05"; }