From 40d315b73a0842ffdc76d3508e2446aa3059f78b Mon Sep 17 00:00:00 2001
From: makefu <github@syntax-fehler.de>
Date: Sat, 4 Dec 2021 20:45:39 +0100
Subject: ma iso: fix ipv6 config

---
 makefu/1systems/iso/target-config.nix | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'makefu/1systems/iso')

diff --git a/makefu/1systems/iso/target-config.nix b/makefu/1systems/iso/target-config.nix
index ba4e3207b..6915e4137 100644
--- a/makefu/1systems/iso/target-config.nix
+++ b/makefu/1systems/iso/target-config.nix
@@ -1,4 +1,4 @@
-{ ... }:
+{ lib, ... }:
 
 {
   imports = [ ./hardware-configuration.nix ./generated.nix ];
@@ -33,8 +33,8 @@
     defaultLocale = "en_US.UTF-8";
   };
   boot.kernel.sysctl = {
-    "net.ipv6.conf.all.use_tempaddr" = 2;
-    "net.ipv6.conf.default.use_tempaddr" = 2;
+    "net.ipv6.conf.all.use_tempaddr" = lib.mkDefault "2";
+    "net.ipv6.conf.default.use_tempaddr" = lib.mkDefault "2";
   };
   services.nscd.enable = false;
 }
-- 
cgit v1.2.3