This commit is contained in:
Daniel Ziltener 2023-12-17 17:43:07 +01:00
parent d03f44a7e2
commit b7bf3d53e6
Signed by: zilti
GPG key ID: B38976E82C9DAE42
2 changed files with 21 additions and 18 deletions

View file

@ -24,15 +24,17 @@
This is to be run after setting up the partitions. This is to be run after setting up the partitions.
#+begin_src sh :tangle sysinst.sh #+begin_src sh :tangle sysinst.sh
#!/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 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_PROFILE="/root/.config/guix/current"
guix system -L. init ./config.scm /mnt --substitute-urls="https://ci.guix.gnu.org https://bordeaux.guix.gnu.org https://substitutes.nonguix.org" . "$GUIX_PROFILE/etc/profile"
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"
#+end_src #+end_src
* Modules * Modules

View file

@ -21,6 +21,7 @@
(use-modules (use-modules
(gnu) (gnu)
(gnu image) (gnu image)
(gnu packages gnome)
(gnu services authentication) (gnu services authentication)
(gnu services base) (gnu services base)
(gnu services dbus) (gnu services dbus)