mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-14 13:19:09 +02:00
feat[server]: serve home services also from home
This commit is contained in:
parent
c1c7431891
commit
375dc83404
51 changed files with 2740 additions and 3289 deletions
11
pkgs/config/swarsel-sops/default.nix
Normal file
11
pkgs/config/swarsel-sops/default.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ name, sops, homeConfig, writeShellApplication, ... }:
|
||||
writeShellApplication {
|
||||
inherit name;
|
||||
runtimeInputs = [ sops ];
|
||||
text = ''
|
||||
sops updatekeys ${homeConfig.homeDirectory}/secrets/repo/*
|
||||
sops updatekeys ${homeConfig.homeDirectory}/secrets/nginx/*
|
||||
sops updatekeys ${homeConfig.homeDirectory}/secrets/work/*
|
||||
sops updatekeys ${homeConfig.homeDirectory}/hosts/*/*/*/secrets/*/secrets.yaml
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue