gpg: move from module to user config

This commit is contained in:
2025-03-16 14:02:51 +00:00
parent dd637cb1ae
commit 4fe17e1ec0
10 changed files with 15 additions and 35 deletions

View File

@ -5,7 +5,6 @@
./programs/emulators.nix
./programs/firefox.nix
./programs/forensics.nix
./programs/gpg.nix
./programs/graphics.nix
./programs/libreoffice.nix
./programs/lutris.nix

View File

@ -1,28 +0,0 @@
{
config,
lib,
...
}:
let
cfg = config.modules.programs.gpg;
in
{
options.modules.programs.gpg = {
enable = lib.mkOption {
default = false;
example = true;
};
};
config = lib.mkIf cfg.enable {
home.programs.gpg = {
enable = true;
};
home.services.gpg-agent = {
enable = true;
enableSshSupport = true;
};
};
}