This commit is contained in:
Lilith 2025-02-27 02:16:57 +01:00
parent fff3aa9713
commit b229451bed
Signed by: lilith
GPG key ID: 8712A0F317C37175
2 changed files with 24 additions and 2 deletions

11
home/gpg.nix Normal file
View file

@ -0,0 +1,11 @@
{pkgs, ...}: {
programs.gpg = {
enable = true;
settings.trust-model = "tofu+pgp";
};
services.gpg-agent = {
enable = true;
pinentryPackage = pkgs.pinentry-gtk2;
};
}

View file

@ -1,3 +1,14 @@
{ ... }: { { ... }: {
home-manager.users."lilith" = {
imports = [
./gpg.nix
];
home.username = "lilith";
home.stateVersion = "24.11";
};
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
};
} }