starlight: Set lvm configuration stuff

This commit is contained in:
Artemis Tosini 2024-09-03 05:03:21 +00:00
parent e7f8ba2503
commit 4890ee818c
Signed by: artemist
SSH key fingerprint: SHA256:EsuWCwx6fjxxExxf65rX+ocQJJAdw4R1KarpFue6Uwc

View file

@ -1,4 +1,8 @@
{ config, pkgs, ... }: {
config,
pkgs,
...
}:
{ {
boot = { boot = {
kernelPackages = pkgs.linuxPackages_latest; kernelPackages = pkgs.linuxPackages_latest;
@ -54,6 +58,10 @@
boot.thin.enable = true; boot.thin.enable = true;
}; };
environment.etc."lvm/lvm.conf".text = ''
global/thin_restore_executable = ${pkgs.thin-provisioning-tools}/bin/thin_restore
'';
services.btrfs.autoScrub = { services.btrfs.autoScrub = {
enable = true; enable = true;
fileSystems = [ fileSystems = [