Skip to content

Commit 1f07a63

Browse files
authored
Revert "nixos/profiles/hardened: don't enable by default" (#383425)
2 parents 61d804d + b964d0d commit 1f07a63

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

nixos/modules/profiles/hardened.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ let
2222
;
2323
in
2424
{
25-
options.profiles.hardened = mkEnableOption "hardened";
25+
options.profiles.hardened = mkEnableOption "hardened" // {
26+
default = true;
27+
example = false;
28+
};
2629
config = mkIf config.profiles.hardened {
2730
meta = {
2831
maintainers = [

0 commit comments

Comments
 (0)