mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-18 22:55:52 +05:30
11 lines
264 B
Bash
Executable file
11 lines
264 B
Bash
Executable file
#!/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 )
|
|
|
|
# Rebuild system
|
|
sudo nixos-rebuild switch --flake $SCRIPT_DIR#system;
|