{ lib, inputs, kansaiPkgs, pcModules, self, outputs, secrets, ... }: { flake.nixosConfigurations.akashi = let system = "x86_64-linux"; pkgs = (kansaiPkgs { nixpkgsAllowUnfree = true; nixpkgsExtraConfig.joypixels.acceptLicense = true; nixpkgsAllowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "joypixels" ]; }).${system}; in lib.nixosSystem { inherit pkgs; modules = [ ./configuration.nix ./hardware-configuration.nix inputs.home-manager.nixosModules.home-manager { home-manager = { useGlobalPkgs = true; useUserPackages = true; users.ebisu = import "${self}/home/ebisu/akashi"; extraSpecialArgs = { inherit inputs self secrets system ; flakeDirectory = ""; }; }; } ] ++ pcModules pkgs.system; specialArgs = { inherit inputs outputs secrets self ; }; }; }