diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-05 20:16:49 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-05 20:16:49 -0700 |
commit | cb66e057603302026731d33189d076815f0a38f4 (patch) | |
tree | b60cf9a2412e4f6f8e34d7c65f7db947deed9023 /modules/hardware | |
parent | refactor network configuration (diff) | |
download | world-cb66e057603302026731d33189d076815f0a38f4.tar.gz |
refactor modules for btrfs, ssd, and fwupd
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; +} |