mirror of
https://github.com/librephoenix/nixos-config
synced 2025-07-19 13:04:00 +05:30
Removed phoenix script, added and refactored some scripts
This commit is contained in:
parent
4a86714308
commit
1cbfd7ab33
6 changed files with 69 additions and 232 deletions
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
|
Loading…
Add table
Add a link
Reference in a new issue