mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-22 16:58:31 +02:00
fix: secrets
This commit is contained in:
@@ -50,9 +50,11 @@
|
|||||||
|
|
||||||
# activationScripts are executed every time you run `nixos-rebuild` / `darwin-rebuild`.
|
# 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...
|
# 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 = ''
|
system.activationScripts.postUserActivation.text = ''
|
||||||
sudo chmod 644 /etc/agenix/alias-for-work.nushell
|
sudo chmod 644 /etc/agenix/*
|
||||||
sudo chmod 644 /etc/agenix/alias-for-work.bash
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user