diff --git a/home/baseline/xonsh_footer.xsh b/home/baseline/xonsh_footer.xsh index b8ed214..a1436ca 100644 --- a/home/baseline/xonsh_footer.xsh +++ b/home/baseline/xonsh_footer.xsh @@ -59,7 +59,7 @@ def _rebuild(args): nom build f"/etc/nixos#nixosConfigurations.{hostname}.config.system.build.toplevel" if g`result`: nvd diff /run/current-system result - sudo nixos-rebuild switch + sudo result/bin/switch-to-configuration switch popd aliases['rebuild'] = _rebuild