From 56c8470db76368d3bffc1f8ef3777982591865cb Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Thu, 4 Dec 2025 16:22:40 -0600 Subject: [PATCH] Speed up rebuilds --- home/baseline/nushell/functions.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/baseline/nushell/functions.nu b/home/baseline/nushell/functions.nu index 11b5fd1..d7ca3ae 100644 --- a/home/baseline/nushell/functions.nu +++ b/home/baseline/nushell/functions.nu @@ -20,7 +20,7 @@ def rebuild [] { let build = ^nom build --keep-going $"/etc/nixos#nixosConfigurations.($hostname).config.system.build.toplevel" if $env.LAST_EXIT_CODE == 0 { nvd diff /run/current-system result - run0 nixos-rebuild switch + run0 result/bin/switch-to-configuration switch } else { print "Error during build" }