Files
nix/pull-and-switch.sh
T
2026-05-03 01:58:20 -05:00

5 lines
206 B
Bash
Executable File

#!/bin/sh
git pull
NIX_CONFIG='experimental-features = nix-command flakes' nix flake lock
exec sudo env NIX_CONFIG='experimental-features = nix-command flakes' nixos-rebuild switch --flake .#laptop-nixos-1