Skip to content

ENH: Support home-manager (nix-build ?) #5

@kai-tub

Description

@kai-tub

Hey.

This project looks quite interesting. Thank you for working on it!
I played around with the project to get nix on a locked-down server and would like to know if it is possible to install home-manager.
I am following the official home-manager documentation -- nix flakes with nixos-stable as the target.
When running the rebuild ./nix run .#homeConfigurations.<name>.activationPackage I get the following error message:

/nix/store/j333lfi0wk1f2yd1bg2qnrp0hp43cway-home-manager-generation/bin/home-manager-generation: line 68: nix-build: command not found

If I understand the README correctly, the idea is to link all nix command calls to ~/.cache/nix-static.
So I linked nix-build to nix-static and added it to my PATH at the top of my bashrc.
Though, I still get an error.

I am not that experienced with the internals of nix but if you give me some pointers, I will try my best to help with this issue :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions