move generic-pkgs from gaming to hardware

This commit is contained in:
陈浩南 2023-06-14 19:52:21 +08:00
parent 15b9c69a53
commit eb5e1c82fe
2 changed files with 11 additions and 10 deletions

View File

@ -1,3 +1,4 @@
{ pkgs, ... }@inputs:
{
config =
{
@ -6,6 +7,16 @@
{
hostPlatform = { system = "x86_64-linux"; gcc = { arch = "alderlake"; tune = "alderlake"; }; };
config.allowUnfree = true;
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;
in { mono = generic-pkgs.mono; }
)];
};
};
}

View File

@ -2,16 +2,6 @@
{
config =
{
nixpkgs.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;
in { mono = generic-pkgs.mono; }
)];
environment.systemPackages = [ inputs.config.nur.repos.ataraxiasjel.proton-ge ];
programs =
{