Closed llakala closed 1 week ago
Closes #13.
Could be made a bit prettier with:
myLib
isDefined
config.hostVars
hostVars
configDirectory
baseVars
mkNixos
hostVar
baseVar
but that can all come in a later commit. For now, this adds the functionality, which is much better than the previous cursed specialArgs stuff.
specialArgs
Closes #13.
Could be made a bit prettier with:
myLib
function for automaticisDefined
assertionsconfig.hostVars
to justhostVars
.configDirectory
to be a host variable since if we ever changed it on one machine, it shouldn't break other systemsbaseVars
andhostVars
automatically via a fancymkNixos
helper functionhostVar
or abaseVar
.but that can all come in a later commit. For now, this adds the functionality, which is much better than the previous cursed
specialArgs
stuff.