bump, cross fixes
This commit is contained in:
parent
68a83d1575
commit
62c7179b62
1 changed files with 58 additions and 50 deletions
13
flake.nix
13
flake.nix
|
|
@ -71,9 +71,15 @@
|
|||
};
|
||||
system = info:
|
||||
lib.nixosSystem {
|
||||
inherit (info) system;
|
||||
specialArgs = {
|
||||
inherit inputs dirUtils;
|
||||
isDesktop = info.isDesktop or false;
|
||||
crossPkgs = import inputs.nixpkgs {
|
||||
hostPlatform = info.system;
|
||||
localSystem = info.system;
|
||||
buildPlatform = "x86_64-linux";
|
||||
};
|
||||
};
|
||||
|
||||
modules = with dirUtils;
|
||||
|
|
@ -104,11 +110,14 @@
|
|||
formatter = pkgs.alejandra;
|
||||
};
|
||||
|
||||
flake.nixosConfigurations = builtins.mapAttrs (name: value: system (value // {hostname = name;})) {
|
||||
flake.nixosConfigurations = builtins.mapAttrs (name: value: system ({system = "x86_64-linux";} // value // {hostname = name;})) {
|
||||
"quadraticpc".isDesktop = true;
|
||||
"quadtop".isDesktop = true;
|
||||
"quadraticserver".isServer = true;
|
||||
"quadphone".isGraphical = true;
|
||||
"quadphone" = {
|
||||
isGraphical = true;
|
||||
system = "aarch64-linux";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue