2023-06-14 19:52:21 +08:00
|
|
|
{ pkgs, ... }@inputs:
|
2023-06-14 00:35:11 +08:00
|
|
|
{
|
|
|
|
config =
|
|
|
|
{
|
|
|
|
nix.settings.system-features = [ "gccarch-alderlake" ];
|
|
|
|
nixpkgs =
|
|
|
|
{
|
|
|
|
hostPlatform = { system = "x86_64-linux"; gcc = { arch = "alderlake"; tune = "alderlake"; }; };
|
|
|
|
config.allowUnfree = true;
|
2023-06-14 19:52:21 +08:00
|
|
|
overlays =
|
|
|
|
[(
|
|
|
|
final: prev: let generic-pkgs = (inputs.inputs.nixpkgs.lib.nixosSystem
|
|
|
|
{
|
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = { inputs = inputs.inputs; };
|
|
|
|
modules = [{ config.nixpkgs.config.allowUnfree = true; }];
|
|
|
|
}).pkgs;
|
2023-06-17 19:06:03 +08:00
|
|
|
in
|
|
|
|
{
|
|
|
|
mono = generic-pkgs.mono;
|
|
|
|
pandoc = generic-pkgs.pandoc;
|
2023-06-17 19:20:52 +08:00
|
|
|
fwupd = generic-pkgs.fwupd;
|
2023-06-17 19:06:03 +08:00
|
|
|
}
|
2023-06-14 19:52:21 +08:00
|
|
|
)];
|
2023-06-14 00:35:11 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|