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