mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-19 01:54:02 +05:30
Testing update system from git repo script
This commit is contained in:
parent
df76ef046a
commit
5b80e2c497
4 changed files with 56 additions and 2 deletions
|
@ -28,11 +28,12 @@ if [ -z "$EDITOR" ]; then
|
|||
fi
|
||||
$EDITOR ~/.dotfiles/flake.nix;
|
||||
|
||||
# Permissions for files that should be owned by root
|
||||
sudo ~/.dotfiles/harden.sh ~/.dotfiles;
|
||||
|
||||
# Rebuild system
|
||||
sudo nixos-rebuild switch --flake ~/.dotfiles#system;
|
||||
|
||||
# Install and build home-manager configuration
|
||||
nix run home-manager/master --extra-experimental-features nix-command --extra-experimental-features flakes -- switch --flake ~/.dotfiles#user;
|
||||
|
||||
# Permissions for files that should be owned by root
|
||||
sudo ~/.dotfiles/harden.sh ~/.dotfiles;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue