summaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
authorSeth Flynn <[email protected]>2025-03-13 20:32:42 -0400
committerSeth Flynn <[email protected]>2025-03-13 20:33:06 -0400
commit7443543d8b672dc8053f3a4dde5e9bde040672cc (patch)
tree743d5c1b029b65e817228b3fece5c7780b263245 /src/cli.rs
parent910585c5f1de6ad3c750f3a023cf17ae4381341a (diff)
feat: home-manager configuration support
Closes https://github.com/getchoo/nix-forecast/issues/59
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cli.rs b/src/cli.rs
index edfba5d..da8635b 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -11,6 +11,15 @@ pub struct Cli {
#[arg(short, long, conflicts_with("installables"))]
pub configuration: Option<String>,
+ /// Flake reference pointing to a standalone home-manager configuration
+ #[arg(
+ short = 'o',
+ long,
+ conflicts_with("configuration"),
+ conflicts_with("installables")
+ )]
+ pub home: Option<String>,
+
/// URLs of the substituters to check (can be passed more than once)
#[arg(
alias = "binary-cache",