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;