diff --git a/flake.nix b/flake.nix index 55213e8..dff5f17 100644 --- a/flake.nix +++ b/flake.nix @@ -48,6 +48,7 @@ system = "x86_64-linux"; pkgs = import nixpkgs { inherit system; + config.allowUnfreePredicate = pkg: lib.elem (lib.getName pkg) (import ./packages/unfree.nix); }; deploy-rs-lib = inputs.deploy-rs.lib.${system}; diff --git a/packages/unfree.nix b/packages/unfree.nix new file mode 100644 index 0000000..beea355 --- /dev/null +++ b/packages/unfree.nix @@ -0,0 +1,6 @@ +[ + # For NVIDIA ML + "nvidia-persistenced" + "nvidia-settings" + "nvidia-x11" +]