From ef4ecd7fb550283cb574e7e77c79cdb5f83677ad Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Fri, 23 Jan 2026 11:45:27 +0100 Subject: [PATCH] sops: Do eta-reduction --- flake-parts/sops.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake-parts/sops.nix b/flake-parts/sops.nix index 3326342..2022158 100644 --- a/flake-parts/sops.nix +++ b/flake-parts/sops.nix @@ -27,7 +27,7 @@ |> lib.attrValues |> lib.map (host: host.config.custom.sops) |> lib.filter (sops: sops.enable) - |> lib.map (sops: mkCreationRule sops); + |> lib.map mkCreationRule; userCreationRules = self.nixosConfigurations @@ -35,7 +35,7 @@ |> lib.filter (host: host.config |> lib.hasAttr "home-manager") |> lib.map (host: host.config.home-manager.users.seb.custom.sops) |> lib.filter (sops: sops.enable) - |> lib.map (sops: mkCreationRule sops); + |> lib.map mkCreationRule; jsonConfig = { creation_rules = hostCreationRules ++ userCreationRules; } |> lib.strings.toJSON; in