Reorganize for zfs
This commit is contained in:
parent
2933964680
commit
cfb48de40c
57 changed files with 817 additions and 492 deletions
22
configurations/gnupg.nix
Normal file
22
configurations/gnupg.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
custom.zfs.homeLinks = [
|
||||
{ path = ".gnupg/crls.d"; type = "data"; }
|
||||
{ path = ".gnupg/private-keys-v1.d"; type = "data"; }
|
||||
{ path = ".gnupg/pubring.kbx"; type = "data"; }
|
||||
{ path = ".gnupg/trustdb.gpg"; type = "data"; }
|
||||
];
|
||||
programs.gnupg.agent.enable = true;
|
||||
home-manager.users.charlotte = { pkgs, ... }: {
|
||||
programs = {
|
||||
gpg.enable = true;
|
||||
};
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
defaultCacheTtl = 7200;
|
||||
maxCacheTtl = 99999;
|
||||
pinentryFlavor = "qt";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue