nixos-config/config/hosts/ursa-minor/update-config.sh

6 lines
99 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
git pull
sudo cp *.nix /etc/nixos
sudo nixos-rebuild switch