Add ssd module
This commit is contained in:
parent
dd01dc72a8
commit
95f6544eda
|
@ -6,6 +6,7 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../modules/gpu/intel.nix
|
../../modules/gpu/intel.nix
|
||||||
../../modules/restic.nix
|
../../modules/restic.nix
|
||||||
|
../../modules/ssd.nix
|
||||||
(import ../../modules/libvirt.nix { inherit pkgs; gui = true; })
|
(import ../../modules/libvirt.nix { inherit pkgs; gui = true; })
|
||||||
#../../modules/texlive.nix
|
#../../modules/texlive.nix
|
||||||
../../profiles/base.nix
|
../../profiles/base.nix
|
||||||
|
|
4
modules/ssd.nix
Normal file
4
modules/ssd.nix
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
fileSystems."/".options = [ "noatime" "nodiratime" "discard" ];
|
||||||
|
services.fstrim.enable = true;
|
||||||
|
}
|
Loading…
Reference in a new issue