Make sure .gnupg exists before changing its permissions
This commit is contained in:
parent
d03fe2a55a
commit
2808ce7436
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
|||
config.programs.gnupg.agent.enable = true;
|
||||
config.home-manager.users.charlotte = { lib, ... }: {
|
||||
home.activation.fixPermissionsCommands = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
mkdir -p /home/charlotte/.gnupg
|
||||
chmod u=rwX,go= /home/charlotte/.gnupg
|
||||
'';
|
||||
programs.gpg.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue