Add defaultText to options.networking.stevenBlackHosts.enableIPv6
authorGavin John <redacted>
Thu, 27 Mar 2025 18:07:45 +0000 (11:07 -0700)
committerGavin John <redacted>
Thu, 27 Mar 2025 18:25:44 +0000 (11:25 -0700)
Fixes https://github.com/StevenBlack/hosts/issues/2828

flake.nix

index ac991cf5d456ef6aeb79eca3d30c3fdf34755ae4..0cff5be403fcba579920c0edf6204b89406170ae 100644 (file)
--- 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";
git clone https://git.99rst.org/PROJECT