ma hw/ssd: init

This commit is contained in:
makefu 2018-12-17 01:12:29 +01:00
parent 5b0173219c
commit cc396a6cb0
2 changed files with 6 additions and 0 deletions

4
2configs/hw/ssd.nix Normal file
View file

@ -0,0 +1,4 @@
{
# ssd trimming
services.fstrim.enable = true;
}

View file

@ -4,6 +4,7 @@ with import <stockholm/lib>;
{
imports = [
./tpm.nix
./ssd.nix
];
boot.kernelModules = [
@ -50,6 +51,7 @@ with import <stockholm/lib>;
CPU_MAX_PERF_ON_BAT=30
'';
powerManagement.resumeCommands = ''
${pkgs.rfkill}/bin/rfkill unblock all
'';