diff options
author | tdback <tyler@tdback.net> | 2024-12-27 19:09:34 -0500 |
---|---|---|
committer | tdback <tyler@tdback.net> | 2024-12-27 19:09:34 -0500 |
commit | 836ec67a008ce16c57ea5071ef901154f7e93ea9 (patch) | |
tree | bdd6cef8b412bc2f34da476753898ec319a8f507 /modules/scripts/zquota/default.nix | |
parent | c3f79aa804421d71f9a48296b3dea0cea2af0368 (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/default.nix')
-rw-r--r-- | modules/scripts/zquota/default.nix | 9 |
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" ]; |