all repos — nixfiles @ c0e8a60069ddd4fad98bbac4f39c85c2ef0dd5c7

System and user configuration, managed by nix and home-manager

allow overriding action passed to nixos-rebuild

Alin
commit

c0e8a60069ddd4fad98bbac4f39c85c2ef0dd5c7

parent

9a7bfa142860e0c9fca2713ed577cf2e6b5276b1

1 file changed, 4 insertions(+), 1 deletion(-)

changed files
M scripts/os/update/linde → scripts/os/update/linde
@@ -6,9 +6,12 @@ echo "not in nixfiles directory!" >&2
return 1 end +argparse -- $argv + set --local target (status basename) +set --local action (if test -n argv[1]; echo $argv[1]; else echo "switch"; end) -nixos-rebuild switch \ +nixos-rebuild $action \ --flake .?submodules=1#{$target} \ --target-host root@{$target} \ --build-host root@{$target} \