ma hw/ssd: init
This commit is contained in:
parent
ed8d07f682
commit
62e90729ac
4
makefu/2configs/hw/ssd.nix
Normal file
4
makefu/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 = [
|
imports = [
|
||||||
./tpm.nix
|
./tpm.nix
|
||||||
|
./ssd.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernelModules = [
|
boot.kernelModules = [
|
||||||
@ -50,6 +51,7 @@ with import <stockholm/lib>;
|
|||||||
CPU_MAX_PERF_ON_BAT=30
|
CPU_MAX_PERF_ON_BAT=30
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
||||||
powerManagement.resumeCommands = ''
|
powerManagement.resumeCommands = ''
|
||||||
${pkgs.rfkill}/bin/rfkill unblock all
|
${pkgs.rfkill}/bin/rfkill unblock all
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user