fix: secrets

This commit is contained in:
Ryan Yin
2023-07-19 19:31:57 +08:00
parent 3f6b5b321a
commit d502490bf6

View File

@@ -50,9 +50,11 @@
# activationScripts are executed every time you run `nixos-rebuild` / `darwin-rebuild`.
# but not when you reboot the system, so currently you need to run those commands manually after reboot...
#
# /etc/agenix/* will be created after the first time you run `nixos-rebuild` / `darwin-rebuild` successfully.
# so you may need to comment out the following lines if it's the first time you run `nixos-rebuild` / `darwin-rebuild`.
system.activationScripts.postUserActivation.text = ''
sudo chmod 644 /etc/agenix/alias-for-work.nushell
sudo chmod 644 /etc/agenix/alias-for-work.bash
sudo chmod 644 /etc/agenix/*
'';
}