diff options
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 { |
