aboutsummaryrefslogtreecommitdiffstats
path: root/flake
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-03-23 15:34:42 +0100
committerSoispha <soispha@vhack.eu>2024-03-23 15:34:42 +0100
commitfeb8581a39291a7f81cfc48dc21b21ac5c21c6e2 (patch)
treeb1a3d70e3f0f31ee20bc9c664e6f84108df029f0 /flake
parentfix(flake): Import my modules stuck in nixpkgs prs directly (diff)
downloadnixos-config-feb8581a39291a7f81cfc48dc21b21ac5c21c6e2.zip
fix(flake): Correctly export the overlayed package set as `legacyPackages`
The flake output `legacyPackages` is not actually “legacy”, it's just nested. Thus, the output exporting the overlayed `pkgs` should be named `legacyPackages`.
Diffstat (limited to '')
-rw-r--r--flake/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/flake/default.nix b/flake/default.nix
index d9643559..daa22734 100644
--- a/flake/default.nix
+++ b/flake/default.nix
@@ -160,7 +160,7 @@
;
};
in {
- inherit pkgs nixosConfigurations;
+ inherit nixosConfigurations;
checks."${system}" = {
inherit
(self.packages."${system}")
@@ -169,6 +169,8 @@ in {
formatting = treefmtEval.config.build.check self;
};
+ legacyPackages."${system}" = pkgs;
+
packages."${system}" = import ./packages {
inherit
nixos-generators