a flake module to ease creating and managing multiple hosts in your nix flake.

fix(#4): I hope T-T

Seems to get me further in my private configuration.

+2 -4
+2 -4
lib.nix
··· 269 269 inherit (splitSystem system) arch class; 270 270 in 271 271 { 272 - inherit arch; 273 - class = classToND class; 272 + inherit arch class; 274 273 system = constructSystem cfg arch class; 275 274 path = "${cfg.path}/${system}/${name}"; 276 275 } ··· 285 284 inherit (splitSystem cfg.onlySystem) arch class; 286 285 in 287 286 { 288 - inherit arch; 289 - class = classToND class; 287 + inherit arch class; 290 288 system = constructSystem cfg arch class; 291 289 path = "${cfg.path}/${host}"; 292 290 }