Evie Litherland-Smith
9394a99a4c
Loads of expressions were a single default.nix in a directory, instead just make a single directory Hyprland is the only directory of expressions left Move a few things around to fit this a bit better Add home/default.nix to defer "import all" from flake.nix Remove work email from default account set up, add to work laptop specifically and only Clean up a few unused expressions
32 lines
793 B
Nix
32 lines
793 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
home.packages = [ pkgs.pinentry ];
|
|
programs = {
|
|
gpg.enable = true;
|
|
password-store = {
|
|
enable = true;
|
|
package = pkgs.pass.withExtensions
|
|
(exts: with exts; [ pass-otp pass-update pass-audit pass-import ]);
|
|
settings.PASSWORD_STORE_DIR = with config.home;
|
|
"${homeDirectory}/.password-store";
|
|
};
|
|
git.extraConfig.credential.helper =
|
|
"${pkgs.gitFull}/bin/git-credential-libsecret";
|
|
};
|
|
services = {
|
|
gpg-agent = {
|
|
enable = true;
|
|
defaultCacheTtl = 7200;
|
|
defaultCacheTtlSsh = 7200;
|
|
pinentryFlavor = "gtk2";
|
|
extraConfig = ''
|
|
no-allow-external-cache
|
|
allow-emacs-pinentry
|
|
allow-loopback-pinentry
|
|
'';
|
|
};
|
|
password-store-sync.enable = true;
|
|
};
|
|
}
|