🚀 add gpg

This commit is contained in:
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;
}