summaryrefslogtreecommitdiff
path: root/README.md
blob: cfb1cdbb00582c052458ff83def0db2f127bc846 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Guix Installation

## Installing Guix

### Instructions

- Create USB with Guix installation image
- Boot and create partitions using graphical installer
- Bail out right before installation begins, go to terminal
    - Mount cow-store using herd start cow-store /mnt
    - 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
    - Authorize nonguix channel using curl -o signkey.pub https://substitutes.nonguix.org/signing-key.pub and guix archive --authorize < signkey.pub
    - 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
    - When installed, proceed
- Reboot into system, assign root and ryan user a password
- Setup system completely
    - Clone guix-config to proper location
    - Reconfigure system
        - sudo -E guix time-machine -C channels.scm -- system -L modules reconfigure system.scm <---- may not be needed
        - guix pull
        - hash guix
        - sudo guix system -L modules reconfigure system.scm
    - Configure GUIX Home
        - Install Nix Home Manager
        - May need to sudo herd restart nix-daemon or reconfigure system to get nix working???
        - nix-channel --update
        - nix-shell '<home-manager>' -A install
        - home-manager switch
- Everything should now be set up and ready to use :)