mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-10-04 22:05:39 +01:00
Add defaultText to options.networking.stevenBlackHosts.enableIPv6
Fixes https://github.com/StevenBlack/hosts/issues/2828
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user