diff --git a/modules/default.nix b/modules/default.nix index 8ecd4a3..243e91e 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -119,18 +119,14 @@ in }; systemd.services.nix-daemon.serviceConfig.CPUSchedulingPolicy = "batch"; - nixpkgs.config = { - # Add unstable channel - packageOverrides = pkgs: { + nixpkgs.overlays = [ + (import ../pkgs) + (final: prev: { unstable = import (import ../nix/sources.nix).nixpkgs-unstable { config = config.nixpkgs.config; overlays = config.nixpkgs.overlays; }; - }; - }; - - nixpkgs.overlays = [ - (import ../pkgs) + }) ]; # Globally set Let’s Encrypt requirements