diff --git a/flake.nix b/flake.nix index 0c2196b..fde9f62 100644 --- a/flake.nix +++ b/flake.nix @@ -59,6 +59,7 @@ perSystem = { pkgs, + system, ... }: rec { @@ -67,6 +68,14 @@ # Packages only contain linux-cachyos-* due to Flake schema requirements packages = lib.filterAttrs (_: lib.isDerivation) legacyPackages; + + # Allow build unfree modules such as nvidia_x11 + _module.args.pkgs = lib.mkForce ( + import inputs.nixpkgs { + inherit system; + config.allowUnfree = true; + } + ); }; flake = {