From 9e1babadd0f67e59ed207c22d451ca33c223f584 Mon Sep 17 00:00:00 2001 From: Simon Parri Date: Tue, 13 May 2025 16:11:36 -0500 Subject: Add new command to pull repo and run nixos-rebuild switch --- switch | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 switch (limited to 'switch') diff --git a/switch b/switch new file mode 100755 index 0000000..eafccaf --- /dev/null +++ b/switch @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +cd "$(dirname "$($0)")" +git pull +nixos-rebuild switch --flake . -- cgit v1.2.3