Update install script
This commit is contained in:
parent
f41ef46189
commit
0219965175
1 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,10 @@ pushd /etc/nixos/git
|
||||||
# Home-Manager Setup
|
# Home-Manager Setup
|
||||||
echo ">>> Setting up Home Manager..... "
|
echo ">>> Setting up Home Manager..... "
|
||||||
sudo mkdir /nix/var/nix/profiles/per-user/albert
|
sudo mkdir /nix/var/nix/profiles/per-user/albert
|
||||||
|
|
||||||
|
# For some reason the syncthing folder takes this over and makes it owned by root
|
||||||
|
sudo mkdir /home/albert/.config
|
||||||
|
sudo chown albert:albert /home/albert/.config
|
||||||
sudo chown -R albert:root /nix/var/nix/profiles/per-user/albert
|
sudo chown -R albert:root /nix/var/nix/profiles/per-user/albert
|
||||||
home-manager switch -b backup --flake /etc/nixos/git
|
home-manager switch -b backup --flake /etc/nixos/git
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
|
|
Loading…
Reference in a new issue