diff options
| author | Max Audron <audron@cocaine.farm> | 2024-10-22 19:28:59 +0200 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2024-10-22 19:28:59 +0200 |
| commit | b8d073f6cdaf6925f8ef3c01e3c593b0bba5cf51 (patch) | |
| tree | aa4573592e1072ccd1522583fd6ae693beb54598 /flake.nix | |
| parent | deploy satisfactory server (diff) | |
update factorio
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -2,6 +2,7 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05"; nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; + nixpkgs-master.url = "github:NixOS/nixpkgs/master"; flake-parts.url = "github:hercules-ci/flake-parts"; nixinate.url = "github:maxaudron/nixinate"; @@ -14,7 +15,7 @@ pastor.url = "gitlab:cocainefarm/pastor/feature/nix"; }; - outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, flake-parts, nixinate, ... }: + outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, nixpkgs-master, flake-parts, nixinate, ... }: flake-parts.lib.mkFlake { inherit inputs; } { imports = [ nixinate.flakeModule ./lib ]; flake = @@ -30,9 +31,15 @@ config.allowUnfree = true; }; }; + overlay-master = final: prev: { + master = import nixpkgs-master { + system = prev.system; + config.allowUnfree = true; + }; + }; overlays = { config, pkgs, ... }: { - nixpkgs.overlays = [ overlay-unstable ]; + nixpkgs.overlays = [ overlay-unstable overlay-master ]; }; mkSystem = modules: nixpkgs.lib.nixosSystem { |
