mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 18:08:45 +08:00
12 lines
229 B
Nix
12 lines
229 B
Nix
{
|
|
config =
|
|
{
|
|
nix.settings.system-features = [ "gccarch-alderlake" ];
|
|
nixpkgs =
|
|
{
|
|
hostPlatform = { system = "x86_64-linux"; gcc = { arch = "alderlake"; tune = "alderlake"; }; };
|
|
config.allowUnfree = true;
|
|
};
|
|
};
|
|
}
|