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 inherit (splitSystem system) arch class; 270 in 271 { 272 - inherit arch; 273 - class = classToND class; 274 system = constructSystem cfg arch class; 275 path = "${cfg.path}/${system}/${name}"; 276 } ··· 285 inherit (splitSystem cfg.onlySystem) arch class; 286 in 287 { 288 - inherit arch; 289 - class = classToND class; 290 system = constructSystem cfg arch class; 291 path = "${cfg.path}/${host}"; 292 }
··· 269 inherit (splitSystem system) arch class; 270 in 271 { 272 + inherit arch class; 273 system = constructSystem cfg arch class; 274 path = "${cfg.path}/${system}/${name}"; 275 } ··· 284 inherit (splitSystem cfg.onlySystem) arch class; 285 in 286 { 287 + inherit arch class; 288 system = constructSystem cfg arch class; 289 path = "${cfg.path}/${host}"; 290 }