-
Notifications
You must be signed in to change notification settings - Fork 161
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
Uid gid for templates #715
base: master
Are you sure you want to change the base?
Conversation
type = types.singleLineStr; | ||
default = "staff"; | ||
type = with lib.types; nullOr singleLineStr; | ||
default = if config.owner != null then "staff" else null; |
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.
I assume you have not tested this on macOS yet?
I just need to know if I need to give this a try before merging.
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.
That is correct, I do not have an OSX I can test it with.
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.
Also, just in case you didn't see it, I still haven't figured out how to add assertions, if you could offer a bit of advice there, I'd appreciate it :D
Inspired by #637
I'm almost done with this, but I need some help. I can't figure out how to get assertions into it. I'm not quite skilled enough with nix to figure that part out on my own. Happy to squash commits when done.
This should resolve #514 by adding uid/gids to templates.