mirror of
https://github.com/librephoenix/nixos-config
synced 2025-07-19 13:04:00 +05:30
Experimental arbitrary directory dotfiles install + re-added simplified phoenix wrapper script + updated readme with these changes
This commit is contained in:
parent
3148ea5ab7
commit
7c457d29de
14 changed files with 189 additions and 46 deletions
9
sync.sh
9
sync.sh
|
@ -4,10 +4,7 @@
|
|||
# with configuration files for nixos system
|
||||
# and home-manager
|
||||
|
||||
# Rebuild system
|
||||
sudo nixos-rebuild switch --flake ~/.dotfiles#system;
|
||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
|
||||
# Install and build home-manager configuration
|
||||
home-manager switch --flake ~/.dotfiles#user;
|
||||
|
||||
~/.dotfiles/sync-posthook.sh
|
||||
$SCRIPT_DIR/sync-system.sh
|
||||
$SCRIPT_DIR/sync-user.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue