From 7443543d8b672dc8053f3a4dde5e9bde040672cc Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Thu, 13 Mar 2025 20:32:42 -0400 Subject: feat: home-manager configuration support Closes https://github.com/getchoo/nix-forecast/issues/59 --- src/command.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/command.rs') diff --git a/src/command.rs b/src/command.rs index be1dd4c..3d630ca 100644 --- a/src/command.rs +++ b/src/command.rs @@ -19,7 +19,10 @@ impl Run for crate::Cli { resolve_installables(installables).await? } else if let Some(configuration) = &self.configuration { println!("❓ Indexing requisites of configuration closure"); - nix::configuration_closure_paths(configuration)? + nix::system_configuration_closure_paths(configuration)? + } else if let Some(home) = &self.home { + println!("❓ Indexing requisites of home configuration closure"); + nix::home_configuration_closure_paths(home)? } else { println!("❓ Indexing all installables of flake `{}`", self.flake); let installables = nix::all_flake_installables(&self.flake)?; -- cgit v1.2.3