aboutsummaryrefslogtreecommitdiff
path: root/modules/scripts/zquota
diff options
context:
space:
mode:
authortdback <tyler@tdback.net>2024-12-27 19:09:34 -0500
committertdback <tyler@tdback.net>2024-12-27 19:09:34 -0500
commit836ec67a008ce16c57ea5071ef901154f7e93ea9 (patch)
treebdd6cef8b412bc2f34da476753898ec319a8f507 /modules/scripts/zquota
parentc3f79aa804421d71f9a48296b3dea0cea2af0368 (diff)
fix: remove pipe-operators experimental feature
im going to hold off on using the pipe-operators until they are an official part of the nix language. in its current state portability gets hurt for any modules using the feature, since one has to manually opt-in. in the end, it's just a syntax change!
Diffstat (limited to 'modules/scripts/zquota')
-rw-r--r--modules/scripts/zquota/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/scripts/zquota/default.nix b/modules/scripts/zquota/default.nix
index cfa08ee..cc0f08f 100644
--- a/modules/scripts/zquota/default.nix
+++ b/modules/scripts/zquota/default.nix
@@ -64,9 +64,12 @@ in
systemd.services."zquota" = {
description = "Perform and report scheduled quota checks on ZFS datasets.";
serviceConfig.Type = "oneshot";
- script = strings.concatStringsSep "\n" <| mapAttrsToList (
- dataset: quota: "/run/current-system/sw/bin/zquota ${dataset} ${builtins.toString quota}"
- ) cfg.quotas;
+ script =
+ strings.concatStringsSep "\n" (
+ mapAttrsToList (
+ dataset: quota: "/run/current-system/sw/bin/zquota ${dataset} ${builtins.toString quota}"
+ ) cfg.quotas
+ );
};
systemd.timers."zquota" = {
wantedBy = [ "timers.target" ];