Skip to content

NixOS Home-Manager Flake support #497

@NovaViper

Description

@NovaViper

I want to suggest some general feature

I want to be able to add additional arguments to the nix home-manager step for the Nix package manager. It's essentially the same addition like what #323 asked for but also for Home-Manager aswell; since Home-Manager also now supports flakes.

Without the --flake argument, I run into this error since it's not looking for my flake file.

── 00:22:31 - home-manager ─────────────────────────────────────────────────────
DEBUG Executing command `/etc/profiles/per-user/novaviper/bin/home-manager switch`
No configuration file found. Please create one at /home/novaviper/.config/home-manager/home.nix
DEBUG Command failed: Err(
   0: Command failed: `/etc/profiles/per-user/novaviper/bin/home-manager switch`
   1: `/etc/profiles/per-user/novaviper/bin/home-manager` failed: exit status: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions