This commit is contained in:
mjallen18
2025-07-22 18:03:18 -05:00
parent 1d1f145b37
commit f8e80bd44c
7 changed files with 133 additions and 81 deletions

View File

@@ -1,4 +1,4 @@
{ config, lib, ... }:
{ ... }:
let
ports = [
8008 # restic
@@ -28,49 +28,10 @@ in
{
# Networking configs
networking = {
hostName = lib.mkForce "jallen-nas";
useNetworkd = true;
hostId = "4b501480";
# Disable Network Manager
networkmanager = {
enable = true;
ensureProfiles = {
environmentFiles = [
config.sops.secrets.wifi.path
];
profiles = {
"Joey's Jungle 6G" = {
connection = {
id = "Joey's Jungle 6G";
type = "wifi";
};
ipv4 = {
address1 = "10.0.1.3/24";
dns = "10.0.1.1";
gateway = "10.0.1.1";
method = "manual";
};
ipv6 = {
addr-gen-mode = "stable-privacy";
method = "auto";
};
wifi = {
mode = "infrastructure";
ssid = "Joey's Jungle 6G";
};
wifi-security = {
key-mgmt = "sae";
psk = "$PSK";
};
};
};
};
};
nat = {
enable = true;
internalInterfaces = [ "ve-+" ];