Add ssd module

This commit is contained in:
Simon Bruder 2020-10-17 13:14:42 +02:00
parent dd01dc72a8
commit 95f6544eda
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F
2 changed files with 5 additions and 0 deletions

View file

@ -6,6 +6,7 @@
./hardware-configuration.nix
../../modules/gpu/intel.nix
../../modules/restic.nix
../../modules/ssd.nix
(import ../../modules/libvirt.nix { inherit pkgs; gui = true; })
#../../modules/texlive.nix
../../profiles/base.nix

4
modules/ssd.nix Normal file
View file

@ -0,0 +1,4 @@
{
fileSystems."/".options = [ "noatime" "nodiratime" "discard" ];
services.fstrim.enable = true;
}