diff options
author | Ben Sima <ben@bsima.me> | 2019-04-22 12:19:43 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-04-22 12:19:43 -0700 |
commit | 7257fa93373ca948e858c920ec0bd499a4543f45 (patch) | |
tree | 2cb3fc9530436ac91f510b5044d2b70d3edca5cb | |
parent | 059466e9e9d8ff8bde6f80db75bc52af1b281132 (diff) |
add new gpg key
-rw-r--r-- | common.nix | 6 | ||||
-rw-r--r-- | email.nix | 6 |
2 files changed, 12 insertions, 0 deletions
@@ -3,11 +3,13 @@ let homedir = builtins.getEnv "HOME"; locale = "en_US.UTF-8"; + gpgid = "D09299626FA78AF8"; in { home = { packages = import ./packages.nix { inherit pkgs; }; sessionVariables = { + GPGID = gpgid; EDITOR = "emacsclient"; LANG = locale; LANGUAGE = locale; @@ -69,6 +71,10 @@ in userEmail = "ben@bsima.me"; ignores = [ "*~" "*.swp" ]; package = pkgs.gitAndTools.gitFull; + signing = { + key = gpgid; + signByDefault = true; + }; aliases = { authors = "shortlog -s -n"; }; @@ -2,6 +2,7 @@ let homedir = builtins.getEnv "HOME"; + gpgid = "D09299626FA78AF8"; in { accounts = { @@ -24,6 +25,11 @@ in host = "mail.bsima.me"; port = 587; }; + gpg = { + key = gpgid; + signByDefault = true; + encryptByDefault = false; + }; userName = "ben@bsima.me"; mbsync = { enable = true; |