Move master nixpkgs overlay to nix module

This commit is contained in:
Jakob Lechner 2022-09-27 23:01:40 +00:00
parent 4d385d3575
commit c325eafbbf
No known key found for this signature in database
GPG key ID: 996082EFB5906C10
3 changed files with 5 additions and 17 deletions

View file

@ -4,7 +4,6 @@
imports = [
./hardware-configuration.nix
../../home-manager/users/jal.nix
../../overlays/nixpkgsMaster.nix
];
networking = {

View file

@ -1,4 +1,4 @@
{ pkgs, inputs, ... }:
{ pkgs, inputs, system, ... }:
{
nix = {
@ -31,6 +31,10 @@
overlays
system;
};
master = import inputs.nixpkgsMaster {
inherit system;
config = prev.config;
};
})
];

View file

@ -1,15 +0,0 @@
{ self, system, ... }:
let
inherit (self) inputs;
in
{
nixpkgs.overlays = [
(final: prev: {
master = import inputs.nixpkgsMaster {
inherit system;
config = prev.config;
};
})
];
}