2024-01-25 11:31:05 +01:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[
|
|
|
|
../../base.nix
|
|
|
|
../../common/metrics-exporters.nix
|
|
|
|
./hardware-configuration.nix
|
|
|
|
|
|
|
|
# Infrastructure
|
2024-01-25 13:24:25 +01:00
|
|
|
./services/wireguard.nix
|
2024-01-25 11:31:05 +01:00
|
|
|
|
2024-05-29 01:31:38 +02:00
|
|
|
# Other
|
2024-09-08 01:22:36 +02:00
|
|
|
./services/dyndns.nix
|
2024-05-29 01:31:38 +02:00
|
|
|
./services/nginx.nix
|
2024-09-08 01:22:36 +02:00
|
|
|
./services/thelounge.nix
|
2024-01-25 11:31:05 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
boot.loader.systemd-boot.enable = lib.mkForce false;
|
|
|
|
boot.loader.grub.enable = true;
|
|
|
|
boot.loader.grub.device = "/dev/sda";
|
|
|
|
|
|
|
|
networking = {
|
|
|
|
hostName = "burnham";
|
|
|
|
defaultGateway = "192.168.11.1";
|
|
|
|
interfaces.ens18.ipv4 = {
|
|
|
|
addresses = [
|
|
|
|
{ address = "192.168.11.109"; prefixLength = 24; }
|
|
|
|
];
|
|
|
|
};
|
|
|
|
hostId = "8e24f235";
|
|
|
|
};
|
|
|
|
|
2024-09-08 01:22:36 +02:00
|
|
|
sops.defaultSopsFile = ../../secrets/burnham/burnham.yaml;
|
2024-01-25 11:31:05 +01:00
|
|
|
|
|
|
|
environment.variables = { EDITOR = "vim"; };
|
|
|
|
|
|
|
|
system.stateVersion = "23.11";
|
|
|
|
}
|
|
|
|
|