{ inputs, lib, }: with lib; { # TODO Make a generic wrapper for all hosts. melian = let system = "x86_64-linux"; in nixosSystem { inherit system; modules = attrValues inputs.self.nixosModules ++ [./melian] ++ (with inputs; (with nixos-hardware.nixosModules; [ common-pc-laptop-ssd lenovo-thinkpad-t480 ]) ++ [nixpkgs.nixosModules.notDetected]); specialArgs = rec { inherit inputs lib; this = my.configurations.melian; }; }; manwe = let system = "x86_64-linux"; in nixosSystem { inherit system; modules = attrValues inputs.self.nixosModules ++ [./manwe] ++ (with inputs; (with nixos-hardware.nixosModules; [common-cpu-amd common-pc-ssd]) ++ [ nixpkgs.nixosModules.notDetected "${nixpkgs}/nixos/modules/profiles/qemu-guest.nix" ]); specialArgs = rec { inherit inputs lib; this = my.configurations.manwe; }; }; varda = let system = "x86_64-linux"; in nixosSystem { inherit system; modules = attrValues inputs.self.nixosModules ++ [./varda] ++ (with inputs; (with nixos-hardware.nixosModules; [common-cpu-amd common-pc-ssd]) ++ [ nixpkgs.nixosModules.notDetected "${nixpkgs}/nixos/modules/profiles/qemu-guest.nix" ]); specialArgs = rec { inherit inputs lib; this = my.configurations.varda; }; }; yavanna = let system = "x86_64-linux"; in nixosSystem { inherit system; modules = attrValues inputs.self.nixosModules ++ [./yavanna] ++ (with inputs; (with nixos-hardware.nixosModules; [common-cpu-intel common-pc-hdd]) ++ [nixpkgs.nixosModules.notDetected]); specialArgs = rec { inherit inputs lib; this = my.configurations.yavanna; }; }; test-headless = let system = "x86_64-linux"; in nixosSystem { inherit system; modules = attrValues inputs.self.nixosModules ++ [./test-headless] ++ (with inputs; [ nixpkgs.nixosModules.notDetected "${nixpkgs}/nixos/modules/profiles/qemu-guest.nix" ]); specialArgs = rec { inherit inputs lib; this = { hostname = "test-headless"; isHeadless = true; isHeadful = false; }; }; }; test-headful = let system = "x86_64-linux"; in nixosSystem { inherit system; modules = attrValues inputs.self.nixosModules ++ [./test-headful] ++ (with inputs; [ nixpkgs.nixosModules.notDetected "${nixpkgs}/nixos/modules/profiles/qemu-guest.nix" ]); specialArgs = rec { inherit inputs lib; this = { hostname = "test-headful"; isHeadful = true; isHeadless = false; }; }; }; }