From e801bcbdb60aafb732871608e723aa1c0d3ed848 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Fri, 13 Dec 2024 04:57:04 -0800 Subject: [PATCH] flake overlay --- flake.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/flake.nix b/flake.nix index f2ef350..078bc4a 100644 --- a/flake.nix +++ b/flake.nix @@ -8,8 +8,14 @@ outputs = inputs@{ flake-parts, nixpkgs, ... }: flake-parts.lib.mkFlake { inherit inputs; } { + imports = [ + flake-parts.flakeModules.easyOverlay + ]; systems = nixpkgs.lib.platforms.unix; perSystem = { config, self', inputs', pkgs, system, ... }: { + overlayAttrs = { + zdwl = config.packages.default; + }; packages.default = (old: pkgs.dwl.overrideAttrs { buildInputs = old.buildInputs ++ pkgs.fcft; src = ./.;