refactor: statix, deadnix, alejandra

This commit is contained in:
Kat Inskip 2023-01-17 14:26:07 -05:00
parent 961ec369ba
commit 53eed4454d
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
57 changed files with 1296 additions and 963 deletions

16
home/gpg.nix Normal file
View file

@ -0,0 +1,16 @@
{lib, ...}: let
inherit (lib.modules) mkMerge;
in {
services.gpg-agent = {
enable = true;
enableExtraSocket = true;
enableSshSupport = false;
extraConfig = mkMerge [
"auto-expand-secmem 0x30000" # otherwise "gpg: public key decryption failed: Cannot allocate memory"
"pinentry-timeout 30"
"allow-loopback-pinentry"
"enable-ssh-support"
"no-allow-external-cache"
];
};
}