diff --git a/system/core.nix b/system/core.nix index 00c1cfe..ee15ff6 100644 --- a/system/core.nix +++ b/system/core.nix @@ -1,4 +1,4 @@ -{ pkgs, config, ... }: +{ pkgs, config, inputs, lib, ... }: let cfg = config.my.cachyosKernel; in @@ -38,6 +38,10 @@ in }; }; + nixpkgs.overlays = lib.mkIf cfg.enable[ + inputs.nix-cachyos-kernel.overlays.pinned + ]; + # Boot/Kernel Stuff boot = { kernelPackages =