Add current hummelberg-new state
This commit is contained in:
parent
dd204c8ba6
commit
51f5e7eab9
30 changed files with 1486 additions and 0 deletions
37
defaults/user-configuration/fhauser/applications/gpg.nix
Normal file
37
defaults/user-configuration/fhauser/applications/gpg.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ pkgs, ... }: {
|
||||
#TODO: ENV variabls for agent
|
||||
home-manager.users.fhauser.home.sessionVariables.SSH_AUTH_SOCK =
|
||||
"/run/user/1000/gnupg/S.gpg-agent.ssh";
|
||||
home-manager.users.fhauser.programs.gpg = {
|
||||
enable = true;
|
||||
settings = {
|
||||
"use-agent" = true;
|
||||
"trust-model" = "tofu";
|
||||
"no-emit-version" = true;
|
||||
"no-comments" = true;
|
||||
"sig-notation" = "issuer-fpr@notations.openpgp.fifthhorseman.net=%g";
|
||||
"keyserver" = "hkp://pool.sks-keyservers.net";
|
||||
"keyserver-options" = "auto-key-retrieve no-honor-keyserver-url";
|
||||
"personal-cipher-preferences" = "AES256 AES192 AES CAST5";
|
||||
"cert-digest-algo" = "SHA512";
|
||||
"personal-digest-preferences" = "SHA512 SHA384 SHA256 SHA224";
|
||||
"default-preference-list" =
|
||||
"SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed";
|
||||
"display-charset" = "utf-8";
|
||||
"fixed-list-mode" = true;
|
||||
"with-fingerprint" = true;
|
||||
"keyid-format" = "0xlong";
|
||||
"verify-options" = "show-uid-validity";
|
||||
"list-options" = "show-uid-validity";
|
||||
};
|
||||
};
|
||||
home-manager.users.fhauser.services.gpg-agent = {
|
||||
enable = true;
|
||||
enableScDaemon = true;
|
||||
enableSshSupport = true;
|
||||
sshKeys = [
|
||||
"99DFB0F28CF9420A2D6383139E86814A1568C81B" # 0x8193A5D218B553DD / fabian.hauser@threema.ch
|
||||
"638143D3F6421377E9D4C7F1D2EDC5AA0A860351" # 0x3E957C9C8CB5D6B2 / fabian.hauser@qo.is
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue