1
Fork 0

Add gpg by default

This commit is contained in:
Matei Adriel 2023-07-18 23:59:52 +03:00
parent 96be934cde
commit dbdf0bb77b
No known key found for this signature in database
2 changed files with 2 additions and 10 deletions

View file

@ -3,6 +3,7 @@
./exa.nix
./bat.nix
./ssh.nix
./gpg.nix
./git.nix
./starship.nix
./direnv.nix

View file

@ -12,19 +12,10 @@ in
{
home.packages = pinentry.packages;
# TODO: consider ssh support
services.gpg-agent = {
enable = true;
pinentryFlavor = pinentry.name;
};
programs.gpg = {
enable = true;
settings = {
trust-model = "tofu+pgp";
};
# publicKeys = [{
# trust = 5;
# }];
};
programs.gpg.enable = true;
}