starlight: Set lvm configuration stuff
This commit is contained in:
parent
e7f8ba2503
commit
4890ee818c
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue