diff --git a/install.py b/install.py index 8016b85..0fa58c5 100644 --- a/install.py +++ b/install.py @@ -131,6 +131,7 @@ try: i.arch_chroot(r"sed -i 's/# \(%wheel ALL=(ALL) NOPASSWD: ALL\)/\1/' /etc/sudoers") i.arch_chroot(f"su {user} -c 'cd $(mktemp -d) && git clone https://aur.archlinux.org/yay-bin.git . && makepkg -sim --noconfirm'") i.arch_chroot(f'su {user} -c "yay -Syu --needed --noconfirm {" ".join(dependencies_aur)}"') + i.arch_chroot(f'su {user} -c "curl -L https://nixos.org/nix/install | sh"') i.arch_chroot(r"sed -i 's/\(%wheel ALL=(ALL) NOPASSWD: ALL\)/# \1/' /etc/sudoers") archinstall.log('Setting up dotfiles...') diff --git a/profile/.profile b/profile/.profile index 597bf05..6472f6b 100644 --- a/profile/.profile +++ b/profile/.profile @@ -13,3 +13,6 @@ export LESSHISTFILE="$XDG_CACHE_HOME/less_history" export BROWSER=firefox export EDITOR=nvim + +# load nix stuff +[ -f ~/.nix-profile/etc/profile.d/nix.sh ] && . ~/.nix-profile/etc/profile.d/nix.sh