{config, ...}: { imports = [ ./networking.nix # network configuration that just works ./hardware.nix ]; vhack = { back = { enable = true; repositories = { "${config.services.gitolite.dataDir}/vhack.eu/nixos-server.git" = { domain = "issues.foss-syndicate.org"; port = 9220; }; }; }; fail2ban.enable = true; git-server = { enable = true; domain = "git.foss-syndicate.org"; gitolite.adminPubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIME4ZVa+IoZf6T3U08JG93i6QIAJ4amm7mkBzO14JSkz cardno:000F_18F83532"; }; nginx.enable = true; openssh.enable = true; persist.enable = true; rust-motd.enable = true; users.enable = true; }; boot.tmp.cleanOnBoot = true; zramSwap.enable = true; networking.hostName = "server2"; networking.domain = "vhack.eu"; system.stateVersion = "24.11"; }