Skip to content

make nh commands aware of NH_*_FLAKE#250

Merged
NotAShelf merged 4 commits intomasterfrom
env-and-friends
Apr 23, 2025
Merged

make nh commands aware of NH_*_FLAKE#250
NotAShelf merged 4 commits intomasterfrom
env-and-friends

Conversation

@NotAShelf
Copy link
Copy Markdown
Member

@NotAShelf NotAShelf commented Apr 23, 2025

Changes as discussed with @viperML on Discord.

Makes nh aware of NH_OS_FLAKE, NH_HOME_FLAKE, and NH_DARWIN_FLAKE variables to override NH_FLAKE variable per-command, and includes some typo fixes within the code.

Tested for os and home subcommands, but I don't have a Darwin machine to test with. Override works as intended.

Supersedes #235

@NotAShelf NotAShelf changed the title {home,nixos}: make nh commands aware of NH_OS_FLAKE and NH_HOME_FLAKE { make nh commands aware of NH_*_FLAKE Apr 23, 2025
@NotAShelf NotAShelf changed the title { make nh commands aware of NH_*_FLAKE make nh commands aware of NH_*_FLAKE Apr 23, 2025
@NotAShelf NotAShelf requested a review from viperML April 23, 2025 17:45
@NotAShelf NotAShelf merged commit 1d25ea4 into master Apr 23, 2025
4 checks passed
@NotAShelf NotAShelf deleted the env-and-friends branch April 23, 2025 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant