Removed phoenix script, added and refactored some scripts

This commit is contained in:
Emmet 2024-04-08 17:55:51 -05:00
parent 4a86714308
commit 1cbfd7ab33
6 changed files with 69 additions and 232 deletions

13
sync.sh Executable file
View 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