Add sops helper function to fn.
This commit is contained in:
parent
b2da82bff1
commit
fc9cbc6a0c
1 changed files with 3 additions and 0 deletions
3
fn.nix
3
fn.nix
|
@ -57,6 +57,9 @@ rec {
|
|||
(p: ifelse (depsBroken p) true (depsBrokenRec (deps p)))
|
||||
(p: true) (deps p)
|
||||
);
|
||||
sopsHelper = template: names: options: let
|
||||
nameList = map template names;
|
||||
in listToAttrs (map (nameEntry: {name = nameEntry; value = options;}) nameList);
|
||||
pkgFilter = ld: (filter
|
||||
(p: (
|
||||
ifelse (isBroken p)
|
||||
|
|
Loading…
Reference in a new issue