This commit is contained in:
mjallen18
2026-03-30 16:09:25 -05:00
parent 8d8d49bd38
commit a88736cf6e
23 changed files with 273 additions and 58 deletions

View File

@@ -1,4 +1,7 @@
{ namespace, ... }:
{ lib, namespace, ... }:
let
net = lib.${namespace}.network;
in
{
imports = [
./boot.nix
@@ -31,12 +34,12 @@
};
network = {
hostName = "nuc-nixos";
hostName = net.hosts.nuc.hostname;
ipv4 = {
method = "manual";
address = "10.0.1.4/24";
gateway = "10.0.1.1";
dns = "10.0.1.1";
address = net.hosts.nuc.lan4;
gateway = net.hosts.nuc.gateway;
dns = net.hosts.router.lan;
interface = "enp2s0";
};
firewall = {