Moved scripts into scripts/
This commit is contained in:
12
scripts/sync-user.sh
Executable file
12
scripts/sync-user.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Script to synchronize system state
|
||||
# with configuration files for nixos system
|
||||
# and home-manager
|
||||
|
||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
|
||||
# Install and build home-manager configuration
|
||||
home-manager switch --flake $SCRIPT_DIR/..#user -b bkp;
|
||||
|
||||
$SCRIPT_DIR/sync-posthook.sh
|
Reference in New Issue
Block a user