guixconfig/install-guix-on-void.bash

17 lines
355 B
Bash
Raw Normal View History

2023-12-12 12:04:09 +00:00
#!/usr/bin/env bash
2023-12-06 17:10:44 +00:00
2023-12-12 12:04:09 +00:00
sudo bash ./install-guix-on-void-root.bash
2023-12-12 11:20:30 +00:00
# Profile Initialization
2023-12-12 12:04:09 +00:00
cat << 'EOF' > ~/.profile
2023-12-06 17:10:44 +00:00
GUIX_PROFILE="/home/zilti/.config/guix/current"
. "$GUIX_PROFILE/etc/profile"
EOF
2023-12-12 12:12:37 +00:00
mkdir -p ~/.config/guix
ln -s ~/.local/channels.scm ~/.config/guix/channels.scm
2023-12-12 12:04:09 +00:00
guix pull
. ~/.profile
guix home reconfigure ./home/home-configuration.scm