2024-12-20 22:37:44 -05:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
2024-12-20 16:50:27 -05:00
|
|
|
|
|
|
|
{
|
2024-12-20 22:37:44 -05:00
|
|
|
imports = [ ];
|
2024-12-20 16:50:27 -05:00
|
|
|
|
|
|
|
# Fetch public keys:
|
|
|
|
# gpg --locate-keys tom@fizz.buzz
|
|
|
|
#
|
|
|
|
# gpg -vvv --auto-key-locate local,wkd --locate-keys tom@fizz.buzz
|
|
|
|
|
|
|
|
programs.gnupg.agent = {
|
|
|
|
enable = true;
|
|
|
|
enableSSHSupport = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
environment.persistence."/persist" = {
|
|
|
|
hideMounts = true;
|
|
|
|
users.talexander = {
|
|
|
|
directories = [
|
2024-12-20 22:37:44 -05:00
|
|
|
{
|
|
|
|
directory = ".gnupg";
|
|
|
|
user = "talexander";
|
|
|
|
group = "talexander";
|
|
|
|
mode = "0700";
|
|
|
|
} # Local keyring
|
2024-12-20 16:50:27 -05:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|