diff --git a/nixos/home/base.nix b/nixos/home/base.nix index 58e58b1..7831b83 100644 --- a/nixos/home/base.nix +++ b/nixos/home/base.nix @@ -1,6 +1,6 @@ { pkgs, inputs, ... }: { - nixpkgs.overlays = import ../overlays.nix; + nixpkgs.overlays = import ../overlays.nix inputs; home = { stateVersion = "24.11"; diff --git a/nixos/hosts/base.nix b/nixos/hosts/base.nix index 3b84315..9bb3e96 100644 --- a/nixos/hosts/base.nix +++ b/nixos/hosts/base.nix @@ -7,7 +7,7 @@ nix.settings.experimental-features = ["nix-command" "flakes"]; nixpkgs = { config.allowUnfree = true; - overlays = import ../overlays.nix; + overlays = import ../overlays.nix inputs; }; networking.networkmanager.enable = true; diff --git a/nixos/overlays.nix b/nixos/overlays.nix index 7a6b1cb..62ddf43 100644 --- a/nixos/overlays.nix +++ b/nixos/overlays.nix @@ -1,11 +1,9 @@ -{ inputs, ... }: { - [ - inputs.nur.overlays.default - inputs.fenix.overlays.default - (final: prev: { - unstable = import inputs.nixpkgs-unstable { - system = prev.system; - }; - }) - ]; -} +inputs: [ + inputs.nur.overlays.default + inputs.fenix.overlays.default + (final: prev: { + unstable = import inputs.nixpkgs-unstable { + system = prev.system; + }; + }) +]