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 ./exa.nix
./bat.nix ./bat.nix
./ssh.nix ./ssh.nix
./gpg.nix
./git.nix ./git.nix
./starship.nix ./starship.nix
./direnv.nix ./direnv.nix

View file

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