diff options
Diffstat (limited to '')
-rw-r--r-- | modules/system/services/nix/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/system/services/nix/default.nix b/modules/system/services/nix/default.nix index 5766fcdd..e4fe11d1 100644 --- a/modules/system/services/nix/default.nix +++ b/modules/system/services/nix/default.nix @@ -4,6 +4,7 @@ nixpkgs_as_input, templates, self, + system, ... }: { nix = { @@ -14,7 +15,12 @@ registry = { nixpkgs.flake = nixpkgs_as_input; - n.flake = self; # Otherwise the nixpkgs config is not available + n.flake = + nixpkgs_as_input + // { + # Otherwise nixpkgs's config and overlays are not available: + outputs.legacyPackages."${system}" = pkgs; + }; t.flake = templates; |