Configure gpg in home-manager

This commit is contained in:
Artemis Tosini 2023-09-25 00:54:48 +00:00
parent 47fbd07ef1
commit fa30516736
Signed by: artemist
GPG key ID: EE5227935FE3FF18
4 changed files with 15 additions and 5 deletions

View file

@ -479,11 +479,11 @@
]
},
"locked": {
"lastModified": 1695347458,
"narHash": "sha256-eK5Jlzq5X2R4hSZEcY6oXX35yCyanSRB/EApBDULYjU=",
"lastModified": 1695603143,
"narHash": "sha256-7iR+IWQcKdRwazFQSM5RxfvXihN1jILVN7jx2QObG2g=",
"owner": "mildlyfunctionalgays",
"repo": "rustybar",
"rev": "33be10885773f1e33f77e95e551aab1a370410dd",
"rev": "ea274f26c9fc3a1adc88b9b80dd67f35330f65a3",
"type": "github"
},
"original": {

View file

@ -6,7 +6,8 @@
useGlobalPkgs = true;
};
home-manager.users.artemis = {
imports = [ ./fish.nix ./gtk.nix ./git.nix ./mpv.nix ./kitty.nix ./ssh ];
imports =
[ ./fish.nix ./gtk.nix ./git.nix ./mpv.nix ./kitty.nix ./ssh ./gpg.nix ];
home.stateVersion = config.system.stateVersion;

10
home/gpg.nix Normal file
View file

@ -0,0 +1,10 @@
{ ... }:
{
services.gpg-agent = {
enable = true;
enableExtraSocket = true;
};
programs.gpg.enable = true;
}

View file

@ -47,7 +47,6 @@
git-lfs
gitAndTools.gitFull
gitAndTools.pass-git-helper
gnupg
htop
hunspell
jq