mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2025-08-19 03:16:45 +02:00
add actual wiki configuration and lots of modernisations
This commit is contained in:
8
terraform/nixos-wiki/decrypt-age-keys.sh
Executable file
8
terraform/nixos-wiki/decrypt-age-keys.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
mkdir -p var/lib/secrets
|
||||
|
||||
umask 0177
|
||||
sops --extract '["age-key"]' -d "secrets.yaml" > ./var/lib/secrets/age
|
||||
# restore umask
|
||||
umask 0022
|
Reference in New Issue
Block a user