koyomi: Use LVM thin pool for VMs

This commit is contained in:
Simon Bruder 2024-08-20 03:17:43 +02:00
parent b418a56e09
commit 5245fa82d4
Signed by: simon
GPG key ID: 347FF8699CDA0776
2 changed files with 5 additions and 0 deletions

View file

@ -39,6 +39,8 @@
}; };
}; };
services.fstrim.enable = true;
networking = { networking = {
useDHCP = false; useDHCP = false;
usePredictableInterfaceNames = false; usePredictableInterfaceNames = false;

View file

@ -57,6 +57,9 @@
services.prometheus.exporters.smartctl.devices = [ "/dev/nvme0n1" "/dev/nvme1n1" ]; services.prometheus.exporters.smartctl.devices = [ "/dev/nvme0n1" "/dev/nvme1n1" ];
# Not used for boot, but required to make thin LVs work
services.lvm.boot.thin.enable = true;
# TODO Enable periodic RAID scrubbing/checking with mdcheck # TODO Enable periodic RAID scrubbing/checking with mdcheck
networking.useDHCP = false; networking.useDHCP = false;