summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <christoph@cullmann.io>2024-08-27 19:52:10 +0200
committerChristoph Cullmann <christoph@cullmann.io>2024-08-27 19:52:10 +0200
commit47842e2bbbe2afdce226d6ff37895357c8f65d77 (patch)
tree431d2090d3bd9da4e7617e037158cdb2d46c566c
parente55252808532f93955b1beb076de63bae2df3c38 (diff)
no need to replace the kernel at runtime
-rw-r--r--share/common.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/common.nix b/share/common.nix
index b91fcb0..f2310c1 100644
--- a/share/common.nix
+++ b/share/common.nix
@@ -198,6 +198,9 @@ in
# allow realtime
security.rtkit.enable = true;
+ # no need to replace the kernel at runtime
+ security.protectKernelImage = true;
+
# package manager config
nix = {
# auto optimize the store