From 5dc85e72a002efce36b440a98b17a6c80234a142 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sat, 5 Mar 2022 00:40:32 -0600 Subject: Restructure flake source hierarchy --- flake.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 7ac20f1..66f48ee 100644 --- a/flake.nix +++ b/flake.nix @@ -11,12 +11,16 @@ nur.url = "github:nix-community/NUR"; }; - outputs = { home-manager, nur, ... }: { + outputs = { self, home-manager, nur, ... }: { + overlay = self: super: { + local = import ./pkgs self.local super; + }; + homeConfigurations."ale@p-user" = home-manager.lib.homeManagerConfiguration { system = "x86_64-linux"; configuration = { - imports = [ ./home.nix ]; - nixpkgs.overlays = [ nur.overlay ]; + imports = [ ./home ]; + nixpkgs.overlays = [ nur.overlay self.overlay ]; }; username = "ale"; -- cgit v1.2.3