switched submodule files to non flake input

This commit is contained in:
Leyla Becker 2024-09-24 02:30:54 -05:00
parent ac14a781b2
commit 27b58dc288
10 changed files with 36 additions and 10 deletions

View file

@ -58,9 +58,9 @@ user=${user:-$USER}
# access secret files in the submodule this is kinda bad and we should find a way to not need it
if [[ "$target" == "$(hostname)" ]];
then
nixos-rebuild $mode --use-remote-sudo --flake path:.#$flake
nixos-rebuild $mode --use-remote-sudo --flake .#$flake
else
nixos-rebuild $mode --use-remote-sudo --target-host $user@$target --flake path:.#$flake
nixos-rebuild $mode --use-remote-sudo --target-host $user@$target --flake .#$flake
fi
if [ -d "result" ];