{ description = "multi-machine nixos config"; inputs.nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; outputs = { self, nixpkgs, ... }@inputs: let mkHost = hostname: nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs; }; modules = [ ./hosts/${hostname} ]; }; in { nixosConfigurations = { minipc = mkHost "minipc"; laptop = mkHost "laptop"; # gaming = mkHost "gaming"; }; }; }