summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flake.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 66f48ee..6fc5331 100644
--- a/flake.nix
+++ b/flake.nix
@@ -11,9 +11,16 @@
nur.url = "github:nix-community/NUR";
};
- outputs = { self, home-manager, nur, ... }: {
+ outputs = { self, nixpkgs, home-manager, nur, ... }: let
+ pkgSet = pkgs: import ./pkgs {
+ inherit pkgs;
+ util = import ./util pkgs.lib;
+ };
+ in {
+ packages."x86_64-linux" = pkgSet nixpkgs.legacyPackages."x86_64-linux";
+
overlay = self: super: {
- local = import ./pkgs self.local super;
+ local = pkgSet super;
};
homeConfigurations."ale@p-user" = home-manager.lib.homeManagerConfiguration {