refactor: normalize usage of lib and builtins namespaces

This commit is contained in:
SebastianStork 2025-07-22 22:58:18 +02:00
parent 043a996319
commit 062fd5de0b
17 changed files with 24 additions and 24 deletions

View file

@ -27,7 +27,7 @@
|> lib.filterAttrs (_: value: value.config.home-manager.users.seb.custom.sops.enable or false)
|> lib.mapAttrsToList (_: value: mkCreationRule value.config.home-manager.users.seb.custom.sops);
jsonConfig = { creation_rules = hostCreationRules ++ userCreationRules; } |> builtins.toJSON;
jsonConfig = { creation_rules = hostCreationRules ++ userCreationRules; } |> lib.strings.toJSON;
in
pkgs.runCommand "sops-config" { buildInputs = [ pkgs.yj ]; } ''
mkdir $out