.
This commit is contained in:
parent
9f971eb881
commit
f0de87fe68
2 changed files with 16 additions and 9 deletions
23
config.org
23
config.org
|
@ -27,9 +27,11 @@ This is to be run after setting up the partitions.
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set euxo -pipefail
|
set euxo -pipefail
|
||||||
mount /dev/disk/by-label/guix /mnt
|
mount /dev/disk/by-label/guix /mnt
|
||||||
|
mkdir -p /mnt/boot/efi
|
||||||
mount /dev/disk/by-label/EFI /mnt/boot/efi
|
mount /dev/disk/by-label/EFI /mnt/boot/efi
|
||||||
herd start cow-store /mnt
|
herd start cow-store /mnt
|
||||||
guix pull -C./channels.scm
|
guix pull -C./channels.scm
|
||||||
|
hash guix
|
||||||
guix system -L. init ./config.scm /mnt --substitute-urls="https://ci.guix.gnu.org https://bordeaux.guix.gnu.org https://substitutes.nonguix.org"
|
guix system -L. init ./config.scm /mnt --substitute-urls="https://ci.guix.gnu.org https://bordeaux.guix.gnu.org https://substitutes.nonguix.org"
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
@ -148,15 +150,18 @@ This adds the Nonguix channel.
|
||||||
#+begin_src scheme :tangle channels.scm
|
#+begin_src scheme :tangle channels.scm
|
||||||
;; Copy this to ~/.config/guix/channels.scm.
|
;; Copy this to ~/.config/guix/channels.scm.
|
||||||
(cons* (channel
|
(cons* (channel
|
||||||
(name 'nonguix)
|
(name 'nonguix)
|
||||||
(url "https://gitlab.com/nonguix/nonguix")
|
(url "https://gitlab.com/nonguix/nonguix")
|
||||||
;; Enable signature verification:
|
;; Enable signature verification:
|
||||||
(introduction
|
(introduction
|
||||||
(make-channel-introduction
|
(make-channel-introduction
|
||||||
"897c1a470da759236cc11798f4e0a5f7d4d59fbc"
|
"897c1a470da759236cc11798f4e0a5f7d4d59fbc"
|
||||||
(openpgp-fingerprint
|
(openpgp-fingerprint
|
||||||
"2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"))))
|
"2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"))))
|
||||||
%default-channels)
|
(channel
|
||||||
|
(name 'ziltis-channel)
|
||||||
|
(url "https://gitea.lyrion.ch/zilti/guixchannel"))
|
||||||
|
%default-channels)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Packages
|
** Packages
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set euxo -pipefail
|
set euxo -pipefail
|
||||||
mount /dev/disk/by-label/guix /mnt
|
mount /dev/disk/by-label/guix /mnt
|
||||||
|
mkdir -p /mnt/boot/efi
|
||||||
mount /dev/disk/by-label/EFI /mnt/boot/efi
|
mount /dev/disk/by-label/EFI /mnt/boot/efi
|
||||||
herd start cow-store /mnt
|
herd start cow-store /mnt
|
||||||
guix pull -C./channels.scm
|
guix pull -C./channels.scm
|
||||||
|
hash guix
|
||||||
guix system -L. init ./config.scm /mnt --substitute-urls="https://ci.guix.gnu.org https://bordeaux.guix.gnu.org https://substitutes.nonguix.org"
|
guix system -L. init ./config.scm /mnt --substitute-urls="https://ci.guix.gnu.org https://bordeaux.guix.gnu.org https://substitutes.nonguix.org"
|
||||||
|
|
Loading…
Reference in a new issue