-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
add flakeDir
option to automatically set the FLAKE variable
#47
Conversation
build: bump deps
|
I was thinking an assertion instead of a nullOr - but that's not very backwards compatible. I'll make it |
Okay, it now asserts if |
Checks fail |
I really don't know if that mkIf is the correct way to conditionally assert. |
Why not? assertion = (config.nh.flake != null) -> !(lib.hasSuffix ".nix" config.nh.flake) |
Mainly because I didn't know how the |
0ec3bee
to
fc720bb
Compare
Is it ready? |
Will commit tonight. |
Should be good now. |
Adds a
flakeDir
option that sets theFLAKE
variable for the user.