.
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.
|
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
|
||||||
|
@ -126,15 +128,15 @@ As a sibling to the former, the variable ~%local-swap~ does the same with the sw
|
||||||
#+NAME: config-filesystems
|
#+NAME: config-filesystems
|
||||||
#+begin_src scheme :noweb yes
|
#+begin_src scheme :noweb yes
|
||||||
(file-systems (append (list
|
(file-systems (append (list
|
||||||
(file-system
|
(file-system
|
||||||
(device (file-system-label "EFI"))
|
(device (file-system-label "EFI"))
|
||||||
(mount-point "/boot/efi")
|
(mount-point "/boot/efi")
|
||||||
(type "vfat"))
|
(type "vfat"))
|
||||||
(file-system
|
(file-system
|
||||||
(device (file-system-label "guix"))
|
(device (file-system-label "guix"))
|
||||||
(mount-point "/")
|
(mount-point "/")
|
||||||
(type "xfs")))
|
(type "xfs")))
|
||||||
%base-file-systems))
|
%base-file-systems))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
#+NAME: config-swap
|
#+NAME: config-swap
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue