.
This commit is contained in:
parent
d03f44a7e2
commit
b7bf3d53e6
2 changed files with 21 additions and 18 deletions
38
config.org
38
config.org
|
@ -24,15 +24,17 @@
|
|||
This is to be run after setting up the partitions.
|
||||
|
||||
#+begin_src sh :tangle sysinst.sh
|
||||
#!/bin/sh
|
||||
set euxo -pipefail
|
||||
mount /dev/disk/by-label/guix /mnt
|
||||
mkdir -p /mnt/boot/efi
|
||||
mount /dev/disk/by-label/EFI /mnt/boot/efi
|
||||
herd start cow-store /mnt
|
||||
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"
|
||||
#!/bin/sh
|
||||
set euxo -pipefail
|
||||
mount /dev/disk/by-label/guix /mnt
|
||||
mkdir -p /mnt/boot/efi
|
||||
mount /dev/disk/by-label/EFI /mnt/boot/efi
|
||||
herd start cow-store /mnt
|
||||
guix pull -C./channels.scm
|
||||
$GUIX_PROFILE="/root/.config/guix/current"
|
||||
. "$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
|
||||
|
||||
* Modules
|
||||
|
@ -126,15 +128,15 @@ As a sibling to the former, the variable ~%local-swap~ does the same with the sw
|
|||
#+NAME: config-filesystems
|
||||
#+begin_src scheme :noweb yes
|
||||
(file-systems (append (list
|
||||
(file-system
|
||||
(device (file-system-label "EFI"))
|
||||
(mount-point "/boot/efi")
|
||||
(type "vfat"))
|
||||
(file-system
|
||||
(device (file-system-label "guix"))
|
||||
(mount-point "/")
|
||||
(type "xfs")))
|
||||
%base-file-systems))
|
||||
(file-system
|
||||
(device (file-system-label "EFI"))
|
||||
(mount-point "/boot/efi")
|
||||
(type "vfat"))
|
||||
(file-system
|
||||
(device (file-system-label "guix"))
|
||||
(mount-point "/")
|
||||
(type "xfs")))
|
||||
%base-file-systems))
|
||||
#+end_src
|
||||
|
||||
#+NAME: config-swap
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
(use-modules
|
||||
(gnu)
|
||||
(gnu image)
|
||||
(gnu packages gnome)
|
||||
(gnu services authentication)
|
||||
(gnu services base)
|
||||
(gnu services dbus)
|
||||
|
|
Loading…
Reference in a new issue