nix machine / user configurations
1{ 2 lib, 3 tlib, 4 allPkgsSets, 5 ... 6}: 7let 8 mkSystem = 9 name: set: 10 import "${set.inputs.nixpkgs}/nixos/lib/eval-config.nix" { 11 inherit lib; 12 system = null; 13 modules = [ 14 ../modules 15 ../locale 16 "${set.inputs.home}/nixos" 17 { networking.hostName = name; } 18 { nixpkgs.pkgs = set.pkgs; } 19 (import (./. + "/${name}/default.nix")) 20 ]; 21 specialArgs = { 22 inherit (set) terra inputs; 23 inherit tlib; 24 }; 25 }; 26 27 systems = { 28 # lungmen = "x86_64-linux"; 29 # tkaronto = "x86_64-linux"; 30 wolumonde = allPkgsSets.x86_64-linux; 31 wsl = allPkgsSets.x86_64-linux; 32 }; 33in 34lib.mapAttrs mkSystem systems