README.md
b88d77fb2d0d5028a6f5670695dee6bec129501f
· 1.6 KB · 29 lines
raw
| 1 | # Guix Installation |
| 2 | |
| 3 | ## Installing Guix |
| 4 | |
| 5 | ### Instructions |
| 6 | |
| 7 | - Create USB with Guix installation image |
| 8 | - Boot and create partitions using graphical installer |
| 9 | - Bail out right before installation begins, go to terminal |
| 10 | - Mount cow-store using herd start cow-store /mnt |
| 11 | - Download latest version of configuration using `curl -o main.tar.gz --insecure --follow https://git.ryanserver.home.arpa/ryan77627/guix-config/archive/main.tar.gz` and unpack using tar |
| 12 | - Authorize nonguix channel using `curl -o signkey.pub https://substitutes.nonguix.org/signing-key.pub and guix archive --authorize < signkey.pub` |
| 13 | - Modify/add system config for system and initialize using `guix time-machine -C channels.scm -- system -L modules/ --substitute-urls='https://bordeaux.guix.gnu.org https://ci.guix.gnu.org https://substitutes.nonguix.org' init system.scm /mnt` |
| 14 | - When installed, proceed |
| 15 | - Reboot into system, assign root and ryan user a password |
| 16 | - Setup system completely |
| 17 | - Clone guix-config to proper location |
| 18 | - Reconfigure system |
| 19 | - `sudo -E guix time-machine -C channels.scm -- system -L modules reconfigure system.scm` <---- may not be needed |
| 20 | - `guix pull` |
| 21 | - `hash guix` |
| 22 | - `sudo guix system -L modules reconfigure system.scm` |
| 23 | - Configure GUIX Home |
| 24 | - Install Nix Home Manager |
| 25 | - May need to sudo herd restart nix-daemon or reconfigure system to get nix working??? |
| 26 | - `nix-channel --update` |
| 27 | - `nix-shell '<home-manager>' -A install` |
| 28 | - `home-manager switch` |
| 29 | - Everything should now be set up and ready to use :) |