Files
nixos/update.sh

3 lines
135 B
Bash
Executable File

#!/usr/bin/env bash
FLAKE=${1:?"missing arg 1 for flake target"}
sudo nixos-rebuild switch --flake "/home/worble/Projects/nixos#$FLAKE"