Update install script

This commit is contained in:
albert 2024-02-19 22:43:06 +09:00
parent f41ef46189
commit 0219965175
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A

View file

@ -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