From 67c32308af79e2b2ec67c9b453177e943d7329bb Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 24 Nov 2024 18:10:55 +0100 Subject: [PATCH] allow dmesg for all users --- share/common.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/share/common.nix b/share/common.nix index 2fa01fb..03af908 100644 --- a/share/common.nix +++ b/share/common.nix @@ -48,6 +48,12 @@ in "pcie_aspm.policy=performance" ]; + # setup some sysctl stuff + boot.kernel.sysctl = { + # allow dmesg for all users + "kernel.dmesg_restrict" = 0; + }; + # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true;