summaryrefslogtreecommitdiffstats
path: root/machines/jormungand
diff options
context:
space:
mode:
authorDominique Martinet @ jormungand <asmadeus@codewreck.org>2020-06-14 18:58:21 +0200
committerDominique Martinet @ jormungand <asmadeus@codewreck.org>2020-06-14 18:58:21 +0200
commit201ce97c31d0678f3c3235ecd294f03c73e23212 (patch)
tree5248a6926de6d7357ec8e60f775aa91b02cd82c5 /machines/jormungand
parent5a744810e547d5cac47e0c6686b6a8abbadedc8a (diff)
wireguard: genericify domain simplification; remove subnet option
Diffstat (limited to 'machines/jormungand')
-rw-r--r--machines/jormungand/network.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/machines/jormungand/network.nix b/machines/jormungand/network.nix
index 8acf366..a705c86 100644
--- a/machines/jormungand/network.nix
+++ b/machines/jormungand/network.nix
@@ -6,7 +6,10 @@
../../profiles/wireguard.nix
];
- networking.hostName = "jormungand.codewreck.org"; # Define your hostname.
+ networking.hostName = "jormungand.codewreck.org";
+ networking.domain = "codewreck.org";
+
+ boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = "1";
networking = {
useDHCP = false;