{ config, lib, pkgs, ... }: { imports = [ ./hardware-configuration.nix ../../modules/keycloak.nix ]; boot.loader.grub.enable = true; boot.loader.grub.device = "/dev/sda"; networking.hostName = "auth"; 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 ]; services.keycloak = { enable = true; hostname = "auth.domain.com"; adminPasswordFile = "/etc/keycloak-admin-password"; database = { host = "localhost"; passwordFile = "/etc/keycloak-db-password"; }; }; system.stateVersion = "26.05"; }