5 lines
168 B
Bash
5 lines
168 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||
|
nixos-rebuild switch --flake path://$SCRIPT_DIR# --use-remote-sudo
|