nix-conf/home-modules/gpg/default.nix

20 lines
310 B
Nix
Raw Normal View History

2024-04-18 16:12:00 +02:00
{ config, lib, pkgs, ... }:
let cfg = config.jopejoe1.gpg;
in {
options.jopejoe1.gpg = {
enable = lib.mkEnableOption "Enable Nushell";
};
config = lib.mkIf cfg.enable {
programs = {
gpg = {
enable = true;
homedir = "${config.xdg.dataHome}/gnupg";
};
};
};
}