From 5424279ae06ebcdbb02519cc0c96b92de924d079 Mon Sep 17 00:00:00 2001 From: Gavin John Date: Thu, 27 Mar 2025 11:07:45 -0700 Subject: [PATCH] Add defaultText to options.networking.stevenBlackHosts.enableIPv6 Fixes https://github.com/StevenBlack/hosts/issues/2828 --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index ac991cf5d..0cff5be40 100644 --- a/flake.nix +++ b/flake.nix @@ -24,6 +24,7 @@ enable = mkEnableOption "Steven Black's hosts file"; enableIPv6 = mkEnableOption "IPv6 rules" // { default = config.networking.enableIPv6; + defaultText = literalExpression "config.networking.enableIPv6"; }; blockFakenews = mkEnableOption "fakenews hosts entries"; blockGambling = mkEnableOption "gambling hosts entries";