chore: put gnupg and pass in a module

This commit is contained in:
Yorick Barbanneau 2024-04-10 23:16:32 +02:00
parent 8b453699db
commit 836514c1d4
6 changed files with 43 additions and 30 deletions

View file

@ -1,10 +1,6 @@
{ ... }:
{
imports = [
./pass.nix
./gnupg.nix
./bat.nix
./eza.nix
./direnv.nix
];
}

View file

@ -1,20 +0,0 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
pinentry-gnome
pkgs.gcr
];
programs.gpg = {
enable = true;
scdaemonSettings = {
disable-ccid = true;
};
};
services.gpg-agent = {
enable = true;
enableScDaemon = true;
enableZshIntegration = true;
pinentryFlavor = "gnome3";
};
}

View file

@ -1,6 +0,0 @@
{ pkgs, ... }:
{
programs.password-store = {
enable = true;
};
}