Is there a better way to do this?
https://gist.github.com/joehillen/5e762c74b6b8f7595736

What I'm trying to do here is create wrapper functions that set some
default values.
The problem is that I have to pass along every attribute I want to be able
to set at the top level.
As you can see, I don't do anything with `description` or `openssh`. I just
pass it along all the way
down to `extraUsers`.

Based on what I've seen, there seems like there is some way to accomplish
this (like an override or 'mkDefault')
but I keep getting confused.

Still learning. Please excuse my ignorance.

-Joe Hillenbrand
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to