move stuff
This commit is contained in:
@@ -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";
|
||||
@@ -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" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user