diff options
Diffstat (limited to 'modules/hardware')
-rw-r--r-- | modules/hardware/default.nix | 2 | ||||
-rw-r--r-- | modules/hardware/ssd/default.nix | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/modules/hardware/default.nix b/modules/hardware/default.nix index 73b6fbd..16761db 100644 --- a/modules/hardware/default.nix +++ b/modules/hardware/default.nix @@ -1,5 +1,5 @@ { ... }: { - imports = [ ./sound ./networking ]; + imports = [ ./ssd ./sound ./networking ]; } diff --git a/modules/hardware/ssd/default.nix b/modules/hardware/ssd/default.nix new file mode 100644 index 0000000..935c217 --- /dev/null +++ b/modules/hardware/ssd/default.nix @@ -0,0 +1,5 @@ +{ ... }: + +{ + services.fstrim.enable = true; +} |