mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 13:08:44 +08:00
move generic-pkgs from gaming to hardware
This commit is contained in:
parent
15b9c69a53
commit
eb5e1c82fe
@ -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; }
|
||||
)];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -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 =
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user