quatquatt / nixos

My NixOS config with home-manager, flakes, and readable code
1 stars 0 forks source link

See if hostVars can be enforced to have all the same variables #13

Open quatquatt opened 1 month ago

quatquatt commented 1 month ago

Currently, hostVars are declared in multiple places with the same contents. This isn't the best way of doing things, since it can be easily broken by inconsistent application. Ideally, hostVars would be enforced somehow to be all the same.

This could possibly by done by importing specific variables FROM each hostVars, so that they're each expected to provide all of them, and any missing will hopefully provide errors.