ma hw/ssd: init
This commit is contained in:
parent
5b0173219c
commit
cc396a6cb0
4
2configs/hw/ssd.nix
Normal file
4
2configs/hw/ssd.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
# ssd trimming
|
||||
services.fstrim.enable = true;
|
||||
}
|
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue