Skip to content

replacing and disabling modules with new api #310

Closed
@almostnobody

Description

@almostnobody

In the docs there is a:

You can also pull modules from other channels. All modules have access to the modulesPath for each channel as ModulesPath. And you can use disabledModules to remove modules from the current channel.

Pulling the zsh module from the latest channel:

{ latestModulesPath }: {
  modules = [ "${latestModulesPath}/programs/zsh/zsh.nix" ];
  disabledModules = [ "programs/zsh/zsh.nix" ];
}

but it's unclear where it is supposed to be put/used

I'm filing it as a bug, since it's an issue with docs, but i would appreciate the advice, and willing to fix the docs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions