Setup GPG on desktop

This commit is contained in:
Kiana Sheibani 2022-04-29 17:38:23 -04:00
parent 20672aa33d
commit c25ed3513c
3 changed files with 3 additions and 2 deletions

View file

@ -61,6 +61,7 @@ nixpkgs, # The flake's input version of nixpkgs
# Security # Security
services.openssh.enable = true; services.openssh.enable = true;
services.pcscd.enable = true;
programs.gnupg.agent = { programs.gnupg.agent = {
enable = true; enable = true;
enableSSHSupport = true; enableSSHSupport = true;

View file

@ -17,6 +17,8 @@
credential.helper = "store"; credential.helper = "store";
git.allowForcePush = true; git.allowForcePush = true;
init.defaultBranch = "main"; init.defaultBranch = "main";
user.signingkey = "6CB106C25E86A9F7";
}; };
}; };
} }

View file

@ -4,6 +4,4 @@
../../common/home-manager ../../common/home-manager
./waybar.nix ./waybar.nix
]; ];
programs.git.extraConfig.user.signingkey = "6CB106C25E86A9F7";
} }