Add nix
This commit is contained in:
parent
eff48e1e54
commit
5abe905006
2 changed files with 4 additions and 0 deletions
|
@ -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...')
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue