summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix10
1 files changed, 7 insertions, 3 deletions
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";