diff --git a/docs/setup.sh b/docs/setup.sh index ffd0762d..da311901 100755 --- a/docs/setup.sh +++ b/docs/setup.sh @@ -4,6 +4,7 @@ pushd /etc/nixos/git # Home-Manager Setup echo ">>> Setting up Home Manager..... " sudo mkdir /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 source ~/.bashrc