diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-03-05 00:40:32 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-03-05 00:40:32 -0600 |
| commit | 5dc85e72a002efce36b440a98b17a6c80234a142 (patch) | |
| tree | 11f0d3af31b88c079d1598a5842dc47d9e024aa9 /flake.nix | |
| parent | 743a205dd9bff31e0ed63ebba8dd3327614ac188 (diff) | |
Restructure flake source hierarchy
Diffstat (limited to '')
| -rw-r--r-- | flake.nix | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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"; |
