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";
|
showSignature = "append";
|
||||||
};
|
};
|
||||||
passwordCommand = "${cat} ${config.sops.secrets."personal/password".path}";
|
passwordCommand = "${cat} ${config.sops.secrets."personal/password".path}";
|
||||||
|
gpg = {
|
||||||
|
key = "1913ECC8FD7076BC8330E11607AA5254804C009F";
|
||||||
|
signByDefault = true;
|
||||||
|
};
|
||||||
smtp = {
|
smtp = {
|
||||||
host = "smtp.gmail.com";
|
host = "smtp.gmail.com";
|
||||||
};
|
};
|
||||||
|
|
@ -120,6 +124,7 @@ in
|
||||||
named-mailboxes "${mailboxName}/important" =Important
|
named-mailboxes "${mailboxName}/important" =Important
|
||||||
named-mailboxes "${mailboxName}/trash" =Trash
|
named-mailboxes "${mailboxName}/trash" =Trash
|
||||||
named-mailboxes "${mailboxName}/archive" =Archive
|
named-mailboxes "${mailboxName}/archive" =Archive
|
||||||
|
set pgp_sign_as = 0x07AA5254804C009F
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -137,6 +142,10 @@ in
|
||||||
showSignature = "append";
|
showSignature = "append";
|
||||||
};
|
};
|
||||||
passwordCommand = "${cat} ${config.sops.secrets."uchicago/password".path}";
|
passwordCommand = "${cat} ${config.sops.secrets."uchicago/password".path}";
|
||||||
|
gpg = {
|
||||||
|
key = "1913ECC8FD7076BC8330E11607AA5254804C009F";
|
||||||
|
signByDefault = true;
|
||||||
|
};
|
||||||
smtp = {
|
smtp = {
|
||||||
host = "127.0.0.1";
|
host = "127.0.0.1";
|
||||||
port = 1025;
|
port = 1025;
|
||||||
|
|
@ -185,6 +194,7 @@ in
|
||||||
named-mailboxes "${mailboxName}/trash" =Trash
|
named-mailboxes "${mailboxName}/trash" =Trash
|
||||||
named-mailboxes "${mailboxName}/archive" =Archive
|
named-mailboxes "${mailboxName}/archive" =Archive
|
||||||
named-mailboxes "${mailboxName}/teaching" =Teaching
|
named-mailboxes "${mailboxName}/teaching" =Teaching
|
||||||
|
set pgp_sign_as = 0x07AA5254804C009F
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,17 @@
|
||||||
]
|
]
|
||||||
++ (lib.attrValues config.custom.shell.packages);
|
++ (lib.attrValues config.custom.shell.packages);
|
||||||
|
|
||||||
|
services = {
|
||||||
|
gpg-agent = {
|
||||||
|
enable = true;
|
||||||
|
enableSshSupport = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
gpg = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
bat = {
|
bat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = [
|
extraPackages = [
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@
|
||||||
./fonts.nix
|
./fonts.nix
|
||||||
./fingerprint.nix
|
./fingerprint.nix
|
||||||
./gnome.nix
|
./gnome.nix
|
||||||
|
./gnupg.nix
|
||||||
./impermanence.nix
|
./impermanence.nix
|
||||||
./kde.nix
|
./kde.nix
|
||||||
./keyd.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