3p/nixpkgs: add packageOverrides for factorio creds

This commit is contained in:
Luke Granger-Brown 2020-11-24 02:53:33 +00:00
parent 6bc16d7573
commit 6e5e340400

View file

@ -2,13 +2,17 @@
#
# SPDX-License-Identifier: Apache-2.0
{ ... }@ch:
{ depot, ... }@ch:
let
nixpkgsConfig = {
allowUnfree = true;
permittedInsecurePackages = [
"p7zip-16.02"
];
packageOverrides = pkgs: {
factorio = pkgs.factorio.override depot.ops.secrets.factorio;
factorio-experimental = pkgs.factorio-experimental.override depot.ops.secrets.factorio;
};
};
nixpkgs = import ./nixpkgs {
config = nixpkgsConfig;