mirror of
https://git.feal.no/felixalb/nixos-config.git
synced 2024-12-22 20:17:31 +01:00
41 lines
820 B
Nix
41 lines
820 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
imports =
|
|
[
|
|
../../base.nix
|
|
../../common/metrics-exporters.nix
|
|
./hardware-configuration.nix
|
|
|
|
# Infrastructure
|
|
./services/wireguard.nix
|
|
|
|
# Other
|
|
./services/dyndns.nix
|
|
./services/nginx.nix
|
|
./services/thelounge.nix
|
|
];
|
|
|
|
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";
|
|
};
|
|
|
|
sops.defaultSopsFile = ../../secrets/burnham/burnham.yaml;
|
|
|
|
environment.variables = { EDITOR = "vim"; };
|
|
|
|
system.stateVersion = "23.11";
|
|
}
|
|
|