From 0a7254f6bfe7cc0f08c56c752170c70824180bcf Mon Sep 17 00:00:00 2001 From: budimanjojo Date: Wed, 17 Sep 2025 13:37:55 +0700 Subject: [PATCH] feat: also build `homeConfigurations` from `homeConfigurations.*` Signed-off-by: budimanjojo --- README.md | 2 +- flake.nix | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 52a804a..2b3a002 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ devour-flake currently detects the following flake outputs: | Standard flake outputs | `packages`, `apps`, `checks`, `devShells` | | NixOS | `nixosConfigurations.*` | | nix-darwin | `darwinConfigurations.*` | -| home-manager | `legacyPackages.${system}.homeConfigurations.*` | +| home-manager | `legacyPackages.${system}.homeConfigurations.*`, `homeConfigurations.*` | ## Usage diff --git a/flake.nix b/flake.nix index 45f3f31..541f692 100644 --- a/flake.nix +++ b/flake.nix @@ -49,6 +49,8 @@ lib.optional (configForCurrentSystem cfg) cfg.config.system.build.toplevel; darwinConfigurations = _: cfg: lib.optional (configForCurrentSystem cfg) cfg.config.system.build.toplevel; + homeConfigurations = _: cfg: + lib.optional (configForCurrentSystem cfg) cfg.activationPackage; }; }; };