Migrate packages to use callPackage pattern
All checks were successful
CI / build (push) Successful in 2m46s
All checks were successful
CI / build (push) Successful in 2m46s
This commit is contained in:
parent
478b8903e0
commit
15ece3585e
11 changed files with 92 additions and 62 deletions
18
packages/sops-rekey/default.nix
Normal file
18
packages/sops-rekey/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
findutils,
|
||||
self,
|
||||
system,
|
||||
writeShellApplication,
|
||||
...
|
||||
}:
|
||||
writeShellApplication {
|
||||
name = "sops-rekey";
|
||||
meta.description = "Rekey all sops secrets with changed keys";
|
||||
runtimeInputs = [
|
||||
findutils
|
||||
self.packages.${system}.sops
|
||||
];
|
||||
text = ''
|
||||
find . -regex '.*\.sops\..*$' -type f -exec sops updatekeys {} \;
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue