Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optionally set flake ref #58

Closed
terlar opened this issue Jan 2, 2024 · 0 comments
Closed

Optionally set flake ref #58

terlar opened this issue Jan 2, 2024 · 0 comments

Comments

@terlar
Copy link

terlar commented Jan 2, 2024

When using nixos-rebuild I don't have to define any configuration if there is a flake file inside /etc/nixos/flake.nix. Then I can just run nixos-rebuild switch. What I am asking for is this default behavior if not FLAKE is set, to match with the default nixos-rebuild command.

I guess one option could be to default to /etc/nixos if FLAKE is not defined.

@viperML viperML closed this as not planned Won't fix, can't repro, duplicate, stale May 24, 2024
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

No branches or pull requests

2 participants