mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 08:39:42 -04:00
merged modularity from main branch
This commit is contained in:
commit
b126c84401
20 changed files with 70 additions and 78 deletions
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.gpg;
|
||||
cfg = config.modules.user.gpg;
|
||||
|
||||
in
|
||||
{ options.modules.gpg = { enable = mkEnableOption "gpg"; };
|
||||
{ options.modules.user.gpg = { enable = mkEnableOption "user.gpg"; };
|
||||
config = mkIf cfg.enable {
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue