morn: Init new host

This commit is contained in:
2025-03-19 17:14:09 +01:00
parent ed47f7b1bf
commit 4ec8b69cde
4 changed files with 80 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
{ config, pkgs, lib, ... }:
{
imports =
[
../../base.nix
../../common/metrics-exporters.nix
./hardware-configuration.nix
];
networking = {
hostName = "morn";
defaultGateway = "192.168.10.1";
interfaces.ens18.ipv4 = {
addresses = [
{ address = "192.168.10.203"; prefixLength = 24; }
];
};
hostId = "89b7722d";
};
sops.defaultSopsFile = ../../secrets/burnham/burnham.yaml;
environment.variables = { EDITOR = "vim"; };
system.stateVersion = "24.11";
}