mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
vanadium: scrub btrfs filesystem regularly
This commit is contained in:
parent
f0e434d2e7
commit
0d221a34bb
1 changed files with 9 additions and 0 deletions
|
|
@ -3,6 +3,15 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
services.btrfs.autoScrub = {
|
||||||
|
enable = true;
|
||||||
|
fileSystems = [
|
||||||
|
"/"
|
||||||
|
"/home"
|
||||||
|
"/nix"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
# tmux-sessionizer directories
|
# tmux-sessionizer directories
|
||||||
"d /home/leana/r 0700 leana leana - -"
|
"d /home/leana/r 0700 leana leana - -"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue