nixos/scripts/secret_permissions.sh

5 lines
125 B
Bash
Executable File

#!/usr/bin/env bash
find ./secrets -type d -print0 | xargs -0 chmod 700
find ./secrets -type f -print0 | xargs -0 chmod 600