🚀 add gpg

nixos
Moritz Böhme 2022-01-24 12:40:44 +01:00
parent adbdf807a3
commit 5430db5431
4 changed files with 17 additions and 0 deletions

View File

@ -24,6 +24,7 @@
programs = { programs = {
exa.enable = true; exa.enable = true;
bat.enable = true; bat.enable = true;
gpg.enable = true;
}; };
}; };
} }

View File

@ -8,6 +8,10 @@
userEmail = "mr.x@moritzboeh.me"; userEmail = "mr.x@moritzboeh.me";
extraConfig.init.defaultBranch = "main"; extraConfig.init.defaultBranch = "main";
delta.enable = true; delta.enable = true;
signing = {
key = "0x0498CF2DD8CFC6AA";
signByDefault = true;
};
}; };
}; };
} }

View File

@ -5,6 +5,7 @@
./agenix.nix ./agenix.nix
./diskstation ./diskstation
./dunst ./dunst
./gpg.nix
./jupyter.nix ./jupyter.nix
./kdeconnect.nix ./kdeconnect.nix
./keyring.nix ./keyring.nix

11
modules/services/gpg.nix Normal file
View File

@ -0,0 +1,11 @@
{ config, lib, pkgs, ... }:
{
home-manager.users.moritz = {
services.gpg-agent = {
enable = true;
defaultCacheTtl = 3600;
};
};
services.pcscd.enable = true;
}