diff --git a/nixos/common-services.nix b/nixos/common-services.nix index 9efba6f0..ba6db755 100644 --- a/nixos/common-services.nix +++ b/nixos/common-services.nix @@ -2,7 +2,14 @@ { services = { fwupd.enable = true; - tlp.enable = true; + + tlp = { + enable = true; + extraConfig = '' + DISK_IOSCHED="mq-deadline" + ''; + }; + fstrim.enable = true; clipmenu.enable = true; diff --git a/nixos/shell-config.nix b/nixos/shell-config.nix index 451d7f5d..08cabe99 100644 --- a/nixos/shell-config.nix +++ b/nixos/shell-config.nix @@ -2,5 +2,6 @@ permittedInsecurePackages = [ "webkitgtk-2.4.11" ]; + allowUnfree = true; }