Removed phoenix script, added and refactored some scripts
This commit is contained in:
13
sync.sh
Executable file
13
sync.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Script to synchronize system state
|
||||
# with configuration files for nixos system
|
||||
# and home-manager
|
||||
|
||||
# Rebuild system
|
||||
sudo nixos-rebuild switch --flake ~/.dotfiles#system;
|
||||
|
||||
# Install and build home-manager configuration
|
||||
home-manager switch --flake ~/.dotfiles#user;
|
||||
|
||||
~/.dotfiles/sync-posthook.sh
|
Reference in New Issue
Block a user