nixos-config/update.sh

10 lines
209 B
Bash
Executable file

#!/bin/sh
# Script to update my flake without
# synchronizing configuration
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
# Update flake
sudo nix flake update $SCRIPT_DIR;