nix-config/rebuild.sh

3 lines
74 B
Bash
Executable file

#!/usr/bin/env bash
sudo nixos-rebuild ${1:-switch} --flake .#$(hostname)