mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-04 10:16:33 +01:00
19 lines
310 B
Nix
19 lines
310 B
Nix
{ 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";
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|
|
|