From bb3bf8462308e037c69cd1f512533921c01c5b5a Mon Sep 17 00:00:00 2001 From: axel simon Date: Thu, 20 Mar 2025 05:14:23 +0000 Subject: [PATCH] home-manager: remove test, add --flake example (#15975) Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --- pages/common/home-manager.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/common/home-manager.md b/pages/common/home-manager.md index 37529c093f..c142891ae0 100644 --- a/pages/common/home-manager.md +++ b/pages/common/home-manager.md @@ -11,10 +11,6 @@ `home-manager switch` -- Build the configuration for testing without applying it: - -`home-manager test` - - Roll back to a previous configuration generation: `home-manager rollback` @@ -22,3 +18,7 @@ - List all existing configuration generations: `home-manager generations` + +- When using flakes, run any operation that requires nix to run (build, switch, news) by passing the path to the flake: + +`home-manager {{command}} --flake {{path/to/flake}}`