mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-19 07:43:44 +01:00
fix: secrets
This commit is contained in:
@@ -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/*
|
||||
'';
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user