koyomi: Use LVM thin pool for VMs
This commit is contained in:
parent
b418a56e09
commit
5245fa82d4
|
@ -39,6 +39,8 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.fstrim.enable = true;
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
useDHCP = false;
|
useDHCP = false;
|
||||||
usePredictableInterfaceNames = false;
|
usePredictableInterfaceNames = false;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue