Update config and option names for modules

This commit is contained in:
Oliver Davies 2025-04-30 03:09:17 +01:00
parent fe508bd127
commit bb9b77e2f8
54 changed files with 122 additions and 120 deletions

View file

@ -3,12 +3,12 @@
with lib;
let
cfg = config.homeManagerModules.cli.node;
cfg = config.features.cli.node;
inherit (config.xdg) configHome dataHome stateHome;
in
{
options.homeManagerModules.cli.node.enable = mkEnableOption "Enable node";
options.features.cli.node.enable = mkEnableOption "Enable node";
config = mkIf cfg.enable {
xdg.configFile."${config.home.sessionVariables.NPM_CONFIG_USERCONFIG}".text = ''