reorganization into flat profile-based modules

This commit is contained in:
Semere Meharena Mebrahtom 2026-07-19 16:08:17 +02:00
parent 1bc8c22feb
commit 127227205d
Signed by: semere
GPG key ID: 7FC937214DF30488
15 changed files with 660 additions and 696 deletions

24
modules/gpg.nix Normal file
View file

@ -0,0 +1,24 @@
{
config,
lib,
pkgs,
userVars,
...
}:
{
environment.systemPackages = with pkgs; [
gnupg
pass
pinentry-qt
];
home-manager.users."${userVars.username}" = {
services.gpg-agent = {
enable = true;
defaultCacheTtl = 1800;
enableSshSupport = true;
pinentry.package = pkgs.pinentry-qt;
};
};
}