move stuff

This commit is contained in:
mjallen18
2025-08-26 17:20:27 -05:00
parent f66c0726b0
commit d15762b199
68 changed files with 24 additions and 25 deletions

View File

@@ -15,7 +15,7 @@
./boot.nix
./apps.nix
./grafana.nix
# ./networking.nix - moved to modules/nixos/network
./networking.nix # - moved to modules/nixos/network
./ups.nix
./users.nix
./samba.nix
@@ -48,7 +48,6 @@
enableNvidiaDocker = true;
};
network = {
hostName = "jallen-nas";
ipv4 = {
address = "10.0.1.3/24";
method = "manual";

View File

@@ -10,7 +10,7 @@ let
10200
10300
8127
9980 # onlyoffice
9943 # onlyoffice
4000 # netbootxyz
4080 # netbootxyz
3000 # gitea
@@ -28,27 +28,27 @@ in
{
# Networking configs
networking = {
useNetworkd = true;
# useNetworkd = true;
hostId = "4b501480";
# hostId = "4b501480";
nat = {
enable = true;
internalInterfaces = [ "ve-+" ];
externalInterface = "wlp6s0";
# Lazy IPv6 connectivity for the container
enableIPv6 = true;
};
# nat = {
# enable = true;
# internalInterfaces = [ "ve-+" ];
# externalInterface = "wlp6s0";
# # Lazy IPv6 connectivity for the container
# enableIPv6 = true;
# };
firewall = {
enable = true;
allowPing = true;
# enable = true;
# allowPing = true;
allowedTCPPorts = ports;
allowedUDPPorts = ports;
# always allow traffic from your Tailscale network
trustedInterfaces = [ "tailscale0" ];
# # always allow traffic from your Tailscale network
# trustedInterfaces = [ "tailscale0" ];
};
};
}