Fix hm permissions

This commit is contained in:
iFargle 2023-12-13 15:44:57 +09:00
parent 1676fad5fe
commit 3f0297f1d8

View file

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