home: Add gpg config
Also use the opportunity to switch to a new gpg key.
This commit is contained in:
parent
076ec0b321
commit
40986ce2c6
|
@ -3,6 +3,7 @@
|
|||
./alacritty.nix
|
||||
./anki.nix
|
||||
./git.nix
|
||||
./gpg.nix
|
||||
./gtk.nix
|
||||
./htop.nix
|
||||
./misc.nix
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Simon Bruder";
|
||||
userEmail = "simon@sbruder.de";
|
||||
signing = {
|
||||
key = "51276B7B829AF24674F2AA716F03E0000CC5B62F";
|
||||
key = config.programs.gpg.settings.default-key;
|
||||
signByDefault = true;
|
||||
};
|
||||
|
||||
|
|
8
users/simon/modules/gpg.nix
Normal file
8
users/simon/modules/gpg.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default-key = "47E7559E037A35652DBBF8AA8D3C82F9F309F8EC";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue