From 41132adbb644b1c6369a3a4c959179ff999945ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Gro=C3=9Fmann?= Date: Fri, 29 Dec 2023 17:18:19 +0100 Subject: [PATCH] fix: disable kernel locked messages --- hosts/desktopnix/default.nix | 6 +----- modules/hardware/laptop.nix | 5 ++++- users/patrick/patrick.nix | 1 + 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hosts/desktopnix/default.nix b/hosts/desktopnix/default.nix index 7e38c8b..27b6551 100644 --- a/hosts/desktopnix/default.nix +++ b/hosts/desktopnix/default.nix @@ -1,8 +1,4 @@ -{ - inputs, - lib, - ... -}: { +{inputs, ...}: { imports = [ inputs.nixos-hardware.nixosModules.common-gpu-nvidia-nonprime inputs.nixos-hardware.nixosModules.common-pc diff --git a/modules/hardware/laptop.nix b/modules/hardware/laptop.nix index 553a63c..d25177a 100644 --- a/modules/hardware/laptop.nix +++ b/modules/hardware/laptop.nix @@ -4,7 +4,10 @@ IdleAction=suspend IdleActionSec=300 ''; - physlock.enable = true; + physlock = { + enable = true; + muteKernelMessages = true; + }; tlp = { enable = true; settings = { diff --git a/users/patrick/patrick.nix b/users/patrick/patrick.nix index f7603e0..31af9e5 100644 --- a/users/patrick/patrick.nix +++ b/users/patrick/patrick.nix @@ -12,6 +12,7 @@ telegram-desktop chromium libreoffice + lftp ]; }; }