Skip to content

fix(option): add flake ref argument to option command#57

Merged
water-sucks merged 6 commits intomainfrom
add-flake-ref-arg-to-option-cmd
May 9, 2025
Merged

fix(option): add flake ref argument to option command#57
water-sucks merged 6 commits intomainfrom
add-flake-ref-arg-to-option-cmd

Conversation

@water-sucks
Copy link
Copy Markdown
Collaborator

The nixos option command does not take an explicit flake ref, and solely relies on environment variables.

This adds the --flake/-f flag to nixos option, as well as fixing up some inconsistencies in behavior when referring to flake refs and formatting.

Closes the issue mentioned in #56.

@water-sucks water-sucks merged commit 6488658 into main May 9, 2025
1 check passed
@water-sucks water-sucks deleted the add-flake-ref-arg-to-option-cmd branch May 9, 2025 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error message: path '/etc/nixos' does not contain a 'flake.nix', searching up, error: could not find a flake.nix file

1 participant