-
Notifications
You must be signed in to change notification settings - Fork 124
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
fix: bad age.identityPaths default value on darwin, bump to macOS-latest in CI #307
Conversation
d5e66fb
to
ac1dd99
Compare
ac1dd99
to
aeb2392
Compare
aeb2392
to
302ab0c
Compare
Thanks for working on this!
Personally I would recommend against this. I don't see any in-progress work towards adding this, if it never manifests then we've made the code a little more confusing and complex without good reason. A few other thoughts incoming! |
Thank you @n8henrie for the insights. It make sense to simplify the logic if |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Since LnL7/nix-darwin#1172,
services.openssh.enable
is introduced for Darwin with default value beingnull
instead of a boolean.services.openssh.hostKeys
is still not available on Darwin.The default value of
age.IdentityPaths
assumesservices.openssh.enable
being a boolean, causing evaluation failure on Darwin if not explicitly defined.This PR attempts to:
services.openssh.hostKeys
could be picked up for Darwin if it is implemented in the future.macOS-12
tomacOS-15
in CI because it is deprecated by GitHub.