This commit is contained in:
mjallen18
2025-08-21 15:39:24 -05:00
parent 1faa099900
commit 7e82df3df7
14 changed files with 768 additions and 346 deletions

View File

@@ -6,7 +6,7 @@
{
imports = [
./boot.nix
./networking.nix
# ./networking.nix - moved to modules/nixos/network
./users.nix
./sops.nix
];
@@ -18,7 +18,31 @@
${namespace} = {
services.home-assistant.enable = true;
hardware.disko.enable = true;
network.hostName = "nuc-nixos";
network = {
hostName = "nuc-nixos";
useNetworkd = true;
ipv4 = {
method = "manual";
address = "10.0.1.4/24";
gateway = "10.0.1.1";
dns = "10.0.1.1";
};
wifi = {
enable = true;
profiles = {
"Joey's Jungle 6G" = {
ssid = "Joey's Jungle 6G";
keyMgmt = "sae";
};
};
};
firewall = {
enable = true;
allowPing = true;
allowedTCPPorts = [ 8192 ];
allowedUDPPorts = [ 8192 ];
};
};
};
# Enable nix flakes and nix-command tools