Verified Commit fea94af0 authored by Tim Schubert's avatar Tim Schubert
Browse files

fix deploy script

parent 8eba3715
......@@ -32,7 +32,7 @@
program = toString (pkgs.writeScript "deploy" ''
#!${pkgs.runtimeShell}
flake=$(nix flake metadata --json ${./.} | jq -r .url)
nixos-rebuild switch --flake ".#$1" --use-remote-sudo
nixos-rebuild switch --flake "''${flake}#$1" --use-remote-sudo
'');
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment