mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-12-02 18:53:59 +01:00
feat: IPv6 (#192)
* feat: custom ipv6 routes for all hosts * fix: ipv6 - k3s+cilium
This commit is contained in:
1 parent
10924e67e1
commit
77ed0378d1
20 files changed
+278
-24
No files matched your search
@@ -8,6 +8,15 @@
|
||||
package = pkgs.k3s;
|
||||
in {
|
||||
environment.systemPackages = [package];
|
||||
|
||||
# Kernel modules required by cilium
|
||||
boot.kernelModules = ["ip6_tables" "ip6table_mangle" "ip6table_raw" "ip6table_filter"];
|
||||
networking.enableIPv6 = true;
|
||||
networking.nat = {
|
||||
enable = true;
|
||||
enableIPv6 = true;
|
||||
};
|
||||
|
||||
services.k3s = {
|
||||
enable = true;
|
||||
inherit package tokenFile;
|
||||
|
||||
Reference in new issue
Block a user