14 lines
388 B
Bash
14 lines
388 B
Bash
!#/bin/bash
|
|
|
|
sh <(curl -L https://nixos.org/nix/install) --no-daemon
|
|
|
|
mkdir -p ~/.config/nix
|
|
echo "experimental-features = nix-command flakes" >>~/.config/nix/nix.conf
|
|
|
|
. /home/rogueking/.nix-profile/etc/profile.d/nix.sh
|
|
|
|
nix-channel --add https://github.com/nix-community/home-manager/archive/release-24.11.tar.gz home-manager
|
|
nix-channel --update
|
|
|
|
nix-shell '<home-manager>' -A install
|