From 0a51094a6104e9649cc274a869f37dabe74f297e Mon Sep 17 00:00:00 2001 From: Hendrik Sokolowski Date: Mon, 18 Dec 2023 22:38:48 +0100 Subject: [PATCH] load overlays as modules --- modules/default.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/modules/default.nix b/modules/default.nix index 355846ec..68aa5dfc 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -24,6 +24,7 @@ in { base.imports = [ self.nixosModules.home-manager + self.nixosModules.overlays inputs.agenix.nixosModules.default inputs.musnix.nixosModules.musnix inputs.nixmodules-hensoko.nixosModules.all @@ -36,8 +37,7 @@ in master, ... }: { - nixpkgs.overlays = (import ../overlays) ++ - [ + nixpkgs.overlays = [ (prev: next: { nixd = inputs.unstable.legacyPackages.${prev.system}.nixd; @@ -51,10 +51,7 @@ in home-assistant = inputs.unstable.legacyPackages.${prev.system}.home-assistant; scan2paperless = inputs.scan2paperless.legacyPackages.${prev.system}.scan2paperless; - paperless-ngx = inputs.master.legacyPackages.${prev.system}.paperless-ngx; - - factorio-headless = inputs.master.legacyPackages.${prev.system}.factorio-headless; - element-desktop = inputs.master.legacyPackages.${prev.system}.element-desktop; + paperless-ngx = inputs.unstable.legacyPackages.${prev.system}.paperless-ngx; adlist = inputs.adblock-unbound.packages.${prev.system}; })