add sign
This commit is contained in:
parent
676d39d61f
commit
be39ff9e2d
4 changed files with 37 additions and 0 deletions
|
|
@ -84,6 +84,10 @@ in
|
|||
showSignature = "append";
|
||||
};
|
||||
passwordCommand = "${cat} ${config.sops.secrets."personal/password".path}";
|
||||
gpg = {
|
||||
key = "1913ECC8FD7076BC8330E11607AA5254804C009F";
|
||||
signByDefault = true;
|
||||
};
|
||||
smtp = {
|
||||
host = "smtp.gmail.com";
|
||||
};
|
||||
|
|
@ -120,6 +124,7 @@ in
|
|||
named-mailboxes "${mailboxName}/important" =Important
|
||||
named-mailboxes "${mailboxName}/trash" =Trash
|
||||
named-mailboxes "${mailboxName}/archive" =Archive
|
||||
set pgp_sign_as = 0x07AA5254804C009F
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
@ -137,6 +142,10 @@ in
|
|||
showSignature = "append";
|
||||
};
|
||||
passwordCommand = "${cat} ${config.sops.secrets."uchicago/password".path}";
|
||||
gpg = {
|
||||
key = "1913ECC8FD7076BC8330E11607AA5254804C009F";
|
||||
signByDefault = true;
|
||||
};
|
||||
smtp = {
|
||||
host = "127.0.0.1";
|
||||
port = 1025;
|
||||
|
|
@ -185,6 +194,7 @@ in
|
|||
named-mailboxes "${mailboxName}/trash" =Trash
|
||||
named-mailboxes "${mailboxName}/archive" =Archive
|
||||
named-mailboxes "${mailboxName}/teaching" =Teaching
|
||||
set pgp_sign_as = 0x07AA5254804C009F
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -31,7 +31,17 @@
|
|||
]
|
||||
++ (lib.attrValues config.custom.shell.packages);
|
||||
|
||||
services = {
|
||||
gpg-agent = {
|
||||
enable = true;
|
||||
enableSshSupport = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
gpg = {
|
||||
enable = true;
|
||||
};
|
||||
bat = {
|
||||
enable = true;
|
||||
extraPackages = [
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
./fonts.nix
|
||||
./fingerprint.nix
|
||||
./gnome.nix
|
||||
./gnupg.nix
|
||||
./impermanence.nix
|
||||
./kde.nix
|
||||
./keyd.nix
|
||||
|
|
|
|||
16
src/nixos/gnupg.nix
Normal file
16
src/nixos/gnupg.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
|
||||
{
|
||||
programs.gnupg = {
|
||||
agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
};
|
||||
|
||||
custom.persist = {
|
||||
home.directories = [
|
||||
".gnupg"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue