idk
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user