2024-10-20 01:50:24 +02:00
|
|
|
{ config, pkgs, values, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
../../base
|
|
|
|
../../misc/metrics-exporters.nix
|
|
|
|
./filesystems.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
sops.defaultSopsFile = ../../secrets/bakke/bakke.yaml;
|
|
|
|
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
|
|
|
sops.age.keyFile = "/var/lib/sops-nix/key.txt";
|
|
|
|
sops.age.generateKey = true;
|
|
|
|
|
2024-10-20 22:04:11 +02:00
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
2024-10-20 01:50:24 +02:00
|
|
|
|
|
|
|
networking.hostName = "bakke";
|
2024-10-20 18:20:09 +02:00
|
|
|
networking.hostId = "99609ffc";
|
2024-10-20 01:50:24 +02:00
|
|
|
systemd.network.networks."30-enp2s0" = values.defaultNetworkConfig // {
|
|
|
|
matchConfig.Name = "enp2s0";
|
|
|
|
address = with values.hosts.bakke; [ (ipv4 + "/25") (ipv6 + "/64") ];
|
|
|
|
};
|
|
|
|
|
|
|
|
system.stateVersion = "23.05";
|
|
|
|
}
|