Add btrfs scrub and udisk mounter

This commit is contained in:
Natsu Kagami 2023-09-09 17:29:15 +02:00
parent 33835e09fa
commit 7f3f3fd471
Signed by: nki
GPG key ID: 55A032EB38B49ADB
2 changed files with 7 additions and 0 deletions

View file

@ -46,6 +46,9 @@ with lib; {
# Owncloud
services.owncloud-client.enable = true;
# UDisks automounter
services.udiskie.enable = true;
});
}

View file

@ -19,6 +19,10 @@
device = "/dev/disk/by-uuid/b32d27bf-9df6-43c1-8b93-c0693811bf5b";
fsType = "btrfs";
};
services.btrfs.autoScrub = {
enable = true;
interval = "monthly";
};
common.linux.luksDevices."nixroot" = "/dev/disk/by-uuid/09114015-79bc-4a40-bf60-b4022e969acb";