From 836ec67a008ce16c57ea5071ef901154f7e93ea9 Mon Sep 17 00:00:00 2001 From: tdback Date: Fri, 27 Dec 2024 19:09:34 -0500 Subject: 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! --- modules/scripts/zquota/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'modules/scripts') 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" ]; -- cgit v1.2.3