Skip to content

Commit d0ea10e

Browse files
committed
modules/nixos/kernel/kparams.nix
1 parent 441da41 commit d0ea10e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

modules/nixos/kernel/kparams.nix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
"oops=panic"
2626

2727
# only allow signed modules
28-
"module.sig_enforce=1"
28+
# "module.sig_enforce=1"
2929

3030
# blocks access to all kernel memory, even preventing administrators from being able to inspect and probe the kernel
31-
"lockdown=confidentiality"
31+
# "lockdown=confidentiality"
3232

3333
# enable buddy allocator free poisoning
3434
"page_poison=on"
@@ -37,7 +37,7 @@
3737
"page_alloc.shuffle=1"
3838

3939
# for debugging kernel-level slab issues
40-
"slub_debug=FZP"
40+
# "slub_debug=FZP"
4141

4242
# disable sysrq keys. sysrq is seful for debugging, but also insecure
4343
"sysrq_always_enabled=0" # 0 | 1 # 0 means disabled
@@ -49,7 +49,7 @@
4949
"lsm=landlock,lockdown,yama,integrity,apparmor,bpf,tomoyo,selinux"
5050

5151
# prevent the kernel from blanking plymouth out of the fb
52-
"fbcon=nodefer"
52+
# "fbcon=nodefer"
5353

5454
# https://en.wikipedia.org/wiki/Kernel_page-table_isolation
5555
# auto means kernel will automatically decide the pti state
@@ -64,7 +64,7 @@
6464
# disable usb autosuspend
6565
"usbcore.autosuspend=-1"
6666

67-
# isables resume and restores original swap space
67+
# swap: resume and restores original swap space
6868
"noresume"
6969

7070
# allow systemd to set and save the backlight state
@@ -74,7 +74,7 @@
7474
"fbcon=nodefer"
7575

7676
# disable boot logo
77-
"logo.nologo"
77+
# "logo.nologo"
7878

7979
# disable the cursor in vt to get a black screen during intermissions
8080
"vt.global_cursor_default=0"

0 commit comments

Comments
 (0)