.dotfiles/pkgs/config/swarsel-sops/default.nix
Leon Schwarzäugl 04e3bcefc3
Some checks are pending
Build and Deploy / build (push) Waiting to run
Build and Deploy / deploy (push) Blocked by required conditions
Flake check / Check flake (push) Waiting to run
feat: winters <> summers parity
2026-01-10 15:56:09 +01:00

11 lines
461 B
Nix

{ name, sops, homeConfig, writeShellApplication, ... }:
writeShellApplication {
inherit name;
runtimeInputs = [ sops ];
text = ''
sops updatekeys ${homeConfig.swarselsystems.flakePath}/secrets/repo/*
sops updatekeys ${homeConfig.swarselsystems.flakePath}/secrets/nginx/*
sops updatekeys ${homeConfig.swarselsystems.flakePath}/secrets/work/*
sops updatekeys ${homeConfig.swarselsystems.flakePath}/hosts/*/*/*/secrets/*/secrets.yaml
'';
}