some refactoring
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.modules.utils.npm;
|
||||
cfg = config.systemModules.utils.npm;
|
||||
in {
|
||||
options = {
|
||||
modules.utils.npm.enable = mkEnableOption "Enables npm";
|
||||
systemModules.utils.npm.enable = mkEnableOption "Enables npm";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.npm = {
|
||||
|
||||
Reference in New Issue
Block a user