Compare commits

..

No commits in common. "55d8e55d3e6355885e0bd003c5ca535e435766f0" and "15cc0c9d0d7426c09123fa73517e8b85862cc48f" have entirely different histories.

2 changed files with 7 additions and 20 deletions

View File

@ -91,11 +91,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1694499547, "lastModified": 1692134936,
"narHash": "sha256-R7xMz1Iia6JthWRHDn36s/E248WB1/je62ovC/dUVKI=", "narHash": "sha256-Z68O969cioC6I3k/AFBxsuEwpJwt4l9fzwuAMUhCCs0=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e5f018cf150e29aac26c61dac0790ea023c46b24", "rev": "bfd953b2c6de4f550f75461bcc5768b6f966be10",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -121,11 +121,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1694669921, "lastModified": 1692174805,
"narHash": "sha256-6ESpJ6FsftHV96JO/zn6je07tyV2dlLR7SdLsmkegTY=", "narHash": "sha256-xmNPFDi/AUMIxwgOH/IVom55Dks34u1g7sFKKebxUm0=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f2ea252d23ebc9a5336bf6a61e0644921f64e67c", "rev": "caac0eb6bdcad0b32cb2522e03e4002c8975c62e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -23,8 +23,6 @@
supportedFilesystems = [ "zfs" ]; supportedFilesystems = [ "zfs" ];
tmp.useTmpfs = true; tmp.useTmpfs = true;
kernel.sysctl."net.ipv6.conf.all.forwarding" = true;
}; };
documentation.nixos.enable = false; documentation.nixos.enable = false;
@ -90,7 +88,6 @@
}; };
firewall = { firewall = {
enable = true;
allowedTCPPorts = [ 80 443 ]; allowedTCPPorts = [ 80 443 ];
allowedUDPPorts = [ ]; allowedUDPPorts = [ ];
interfaces.eno2 = { interfaces.eno2 = {
@ -104,11 +101,7 @@
3483 # Slimserver 3483 # Slimserver
]; ];
}; };
extraCommands = '' enable = true;
ip6tables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
ip6tables -A FORWARD -j ACCEPT -i eno2
ip6tables -A FORWARD -j nixos-fw-log-refuse
'';
}; };
}; };
@ -125,12 +118,6 @@
IPv6AcceptRA = "yes"; IPv6AcceptRA = "yes";
}; };
}; };
"40-eno2" = {
networkConfig = {
IPv6SendRA = "yes";
DHCPPrefixDelegation = "yes";
};
};
"40-enp0s21u2".dhcpV4Config.RouteMetric = 1024; "40-enp0s21u2".dhcpV4Config.RouteMetric = 1024;
}; };