nixos/colony: Make fstrim happen right before backup

This commit is contained in:
2023-02-21 14:37:39 +00:00
parent 15721e0894
commit c8385a466e
6 changed files with 21 additions and 2 deletions

View File

@@ -91,6 +91,7 @@ in
};
services = {
fstrim = lib.my.colony.fstrimConfig;
lvm = {
dmeventd.enable = true;
};

View File

@@ -92,7 +92,7 @@
};
services = {
fstrim.enable = true;
fstrim = lib.my.colony.fstrimConfig;
netdata.enable = true;
};

View File

@@ -93,7 +93,7 @@ in
};
services = {
fstrim.enable = true;
fstrim = lib.my.colony.fstrimConfig;
netdata.enable = true;
};