Skip to content

Commit e457be3

Browse files
committed
Fix mkEnableOption semantics
1 parent 1f2c2af commit e457be3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

flake.nix

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
enableIPv6 = mkEnableOption "IPv6 rules" // {
2626
default = config.networking.enableIPv6;
2727
};
28-
blockFakenews = mkEnableOption "Additionally block fakenews hosts.";
29-
blockGambling = mkEnableOption "Additionally block gambling hosts.";
30-
blockPorn = mkEnableOption "Additionally block porn hosts.";
31-
blockSocial = mkEnableOption "Additionally block social hosts.";
28+
blockFakenews = mkEnableOption "fakenews hosts entries";
29+
blockGambling = mkEnableOption "gambling hosts entries";
30+
blockPorn = mkEnableOption "porn hosts entries";
31+
blockSocial = mkEnableOption "social hosts entries";
3232
};
3333
config = mkIf cfg.enable {
3434
networking.extraHosts =

0 commit comments

Comments
 (0)