diff --git a/modules/hardware/chn-PC.nix b/modules/hardware/chn-PC.nix index bf9fb9d9..a7ff3624 100644 --- a/modules/hardware/chn-PC.nix +++ b/modules/hardware/chn-PC.nix @@ -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; } + )]; }; }; } diff --git a/modules/packages/gaming.nix b/modules/packages/gaming.nix index 83d59bc0..7dc74833 100644 --- a/modules/packages/gaming.nix +++ b/modules/packages/gaming.nix @@ -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 = {