diff --git a/docs/setup.sh b/docs/setup.sh index 05cb0309..e951a859 100755 --- a/docs/setup.sh +++ b/docs/setup.sh @@ -4,6 +4,10 @@ pushd /etc/nixos/git # Home-Manager Setup echo ">>> Setting up Home Manager..... " 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 home-manager switch -b backup --flake /etc/nixos/git source ~/.bashrc