| 1 | { config, ... }: |
| 2 | |
| 3 | { |
| 4 | imports = [ |
| 5 | ../common.nix |
| 6 | ./boot.nix |
| 7 | ./disko.nix |
| 8 | ./network.nix |
| 9 | |
| 10 | ./grafana.nix |
| 11 | ./nginx.nix |
| 12 | ./nixos-metrics.nix |
| 13 | ./prometheus |
| 14 | |
| 15 | ../../modules/hydra-mirror.nix |
| 16 | ../../modules/rfc39.nix |
| 17 | ../../modules/tarball-mirror.nix |
| 18 | ]; |
| 19 | |
| 20 | networking = { |
| 21 | hostName = "pluto"; |
| 22 | domain = "nixos.org"; |
| 23 | hostId = "e4c9bd10"; |
| 24 | }; |
| 25 | |
| 26 | age.secrets.pluto-backup-ssh-key.file = ../secrets/pluto-backup-ssh-key.age; |
| 27 | age.secrets.pluto-backup-secret.file = ../secrets/pluto-backup-secret.age; |
| 28 | |
| 29 | services.backup = { |
| 30 | user = "u391032-sub2"; |
| 31 | host = "u391032.your-storagebox.de"; |
| 32 | hostPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIICf9svRenC/PLKIL9nk6K/pxQgoiFC41wTNvoIncOxs"; |
| 33 | port = 23; |
| 34 | sshKey = config.age.secrets.pluto-backup-ssh-key.path; |
| 35 | secretPath = config.age.secrets.pluto-backup-secret.path; |
| 36 | }; |
| 37 | |
| 38 | nixpkgs.hostPlatform = "x86_64-linux"; |
| 39 | |
| 40 | system.stateVersion = "23.11"; |
| 41 | } |