Remove custom lib usage

This commit is contained in:
2023-12-10 23:53:54 +00:00
parent 0d015ac418
commit 3f8c817418
42 changed files with 265 additions and 388 deletions

View File

@ -1,14 +1,15 @@
{ config, lib, pkgs, ... }:
with lib;
with lib.my;
let cfg = config.modules.security.gpg;
in {
options.modules.security.gpg = {
enable = mkBoolOpt false;
enable = lib.mkOption {
default = false;
example = true;
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
home.programs.gpg = {
enable = true;
};
@ -18,4 +19,4 @@ in {
enableSshSupport = true;
};
};
}
}