diff --git a/home-manager/common/software/cli/bash.nix b/home-manager/common/software/cli/bash.nix index f1d4b6cd..fa8bac68 100644 --- a/home-manager/common/software/cli/bash.nix +++ b/home-manager/common/software/cli/bash.nix @@ -50,6 +50,11 @@ # SSH_ASKPASS = ""; }; bashrcExtra = '' + update_secrets() { + pushd /etc/nixos/git + nix develop -c \ + find secrets -name "*.yaml" -exec sops updatekeys {} \; + } restart-docker() { pushd /Storage/Data/docker-compose/sysctl.io/ docker stop $1