Skip to content

Index Home Manager options from the Flake Registry #28

@pacien

Description

@pacien

I'm configuring Home-Manager from my system's configuration, defined in a
Flake.

I don't use channels and I'd like to avoid setting those, not to give them a
chance to go out of sync with the inputs of the Flake.

Nevertheless, I have Home Manager registered in the
nix.registry option.

I currently get this error when rebuilding the manix cache:

❯ manix --update-cache test
Building Home Manager Options cache...
Failed to update Home Manager Options

Caused by:
    0: Failed to perform IO on a cache file
    1: No such file or directory (os error 2)
Tip: If you installed your home-manager through configuration.nix you can fix this error by adding the home-manager channel with this command: nix-channel --add https://github.com/rycee/home-manager/archive/master.tar.gz home-manager && nix-channel --update

Would it be feasible to index Home Manager options from the Flake registry
instead of a channel?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions