1
Fork 0
This commit is contained in:
caem 2025-01-23 22:18:37 +01:00
parent af9d267869
commit 854844e039
Signed by: caem
GPG key ID: 69A830D03203405F
3 changed files with 17 additions and 1 deletions

View file

@ -0,0 +1,8 @@
{ config, ... }:
{
programs.gpg = {
enable = true;
homedir = "${config.xdg.dataHome}";
};
}

View file

@ -1,4 +1,4 @@
{ ... }: { username, config, ... }:
{ {
programs.gnupg.agent = { programs.gnupg.agent = {
@ -31,4 +31,11 @@
}; };
sops.age.keyFile = "/nix/config/keys.txt"; sops.age.keyFile = "/nix/config/keys.txt";
environment.persistence."/nix/persist" = {
users."${username}".directories = [
".ssh"
"${config.xdg.dataHome}/gnupg"
];
};
} }

View file

@ -16,6 +16,7 @@
"videos" "videos"
"programming" "programming"
".ssh" ".ssh"
".local/gnupg"
]; ];
}; };
}; };