.
This commit is contained in:
parent
4c4858f2a4
commit
3c253593d8
2 changed files with 21 additions and 0 deletions
14
config.org
14
config.org
|
@ -19,6 +19,20 @@
|
||||||
guix system reconfigure ./config.scm --substitute-urls='https://ci.guix.gnu.org https://bordeaux.guix.gnu.org https://substitutes.nonguix.org'
|
guix system reconfigure ./config.scm --substitute-urls='https://ci.guix.gnu.org https://bordeaux.guix.gnu.org https://substitutes.nonguix.org'
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
* System Installation Script
|
||||||
|
|
||||||
|
This is to be run after setting up the partitions.
|
||||||
|
|
||||||
|
#+begin_src sh :tangle sysinst.sh
|
||||||
|
#!/bin/sh
|
||||||
|
herd start cow-store /mnt
|
||||||
|
mkdir -p ~/.config/guix
|
||||||
|
cp channels.scm ~/.config/guix/channels.scm
|
||||||
|
guix pull
|
||||||
|
sed -i 's|/etc/config.scm|/mnt/etc/config.scm|g' ./config.scm
|
||||||
|
guix system init ./config.scm /mnt
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* Modules
|
* Modules
|
||||||
|
|
||||||
#+NAME: module-list
|
#+NAME: module-list
|
||||||
|
|
7
sysinst.sh
Normal file
7
sysinst.sh
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
herd start cow-store /mnt
|
||||||
|
mkdir -p ~/.config/guix
|
||||||
|
cp channels.scm ~/.config/guix/channels.scm
|
||||||
|
guix pull
|
||||||
|
sed -i 's|/etc/config.scm|/mnt/etc/config.scm|g' ./config.scm
|
||||||
|
guix system init ./config.scm /mnt
|
Loading…
Reference in a new issue