From: Gavin John Date: Thu, 27 Mar 2025 18:07:45 +0000 (-0700) Subject: Add defaultText to options.networking.stevenBlackHosts.enableIPv6 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=5424279ae06ebcdbb02519cc0c96b92de924d079;p=stevenblack-hosts.git Add defaultText to options.networking.stevenBlackHosts.enableIPv6 Fixes https://github.com/StevenBlack/hosts/issues/2828 --- 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";