forked from fabian/nix_config
modularize gpg
This commit is contained in:
parent
4ec61784ed
commit
a7827e619c
4 changed files with 57 additions and 24 deletions
|
@ -38,23 +38,6 @@ in {
|
|||
enable = true;
|
||||
userEmail = "fabian@posixlycorrect.com";
|
||||
userName = "Fabian Montero";
|
||||
#signing = {
|
||||
# key = "7AA277E604A4173916BBB4E91FFAC35E1798174F";
|
||||
# signByDefault = true;
|
||||
#};
|
||||
};
|
||||
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
#settings = {
|
||||
# default-key = "7AA277E604A4173916BBB4E91FFAC35E1798174F";
|
||||
#};
|
||||
};
|
||||
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
pinentryPackage = pkgs.pinentry-emacs;
|
||||
};
|
||||
|
||||
accounts.email.accounts = {
|
||||
|
@ -64,12 +47,6 @@ in {
|
|||
realName = "fabian";
|
||||
primary = true;
|
||||
flavor = "fastmail.com";
|
||||
|
||||
gpg = {
|
||||
encryptByDefault = true;
|
||||
signByDefault = true;
|
||||
key = "7AA277E604A4173916BBB4E91FFAC35E1798174F";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue