EternityForest / nix-protect-disk

Nix config that protects your SSD from excessive wear using some tmpfs mounts, with as little behavior change as possible

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Protect-Disk

It's just a set of tmpfses on frequently written things that really do not need to be persistent.

Note that this assumes a single user at uid 1000, things like pipewire being too chatty with the state dir will not be stopped for other users.

Put this whole repo in your /etc/nixos, and then in your imports section add ./nix-protect-disk/protect-disk.nix

About

Nix config that protects your SSD from excessive wear using some tmpfs mounts, with as little behavior change as possible

License:MIT License


Languages

Language:Nix 72.9%Language:Shell 27.1%