.
This commit is contained in:
parent
363265436f
commit
68ecfc7c41
2 changed files with 11 additions and 6 deletions
10
config.scm
10
config.scm
|
@ -59,7 +59,7 @@
|
|||
|
||||
;; [[file:config.org::*File System][File System:1]]
|
||||
(define %local-filesystem
|
||||
(call-with-input-file "/etc/config.scm"
|
||||
(call-with-input-file "/mnt/mnt/mnt/etc/config.scm"
|
||||
(lambda (port)
|
||||
(read port)
|
||||
(read port)
|
||||
|
@ -73,8 +73,8 @@
|
|||
|
||||
|
||||
;; [[file:config.org::*File System][File System:2]]
|
||||
(define %local-swap
|
||||
(call-with-input-file "/etc/config.scm"
|
||||
#;(define %local-swap
|
||||
(call-with-input-file "/mnt/mnt/mnt/etc/config.scm"
|
||||
(lambda (port)
|
||||
(read port)
|
||||
(read port)
|
||||
|
@ -109,7 +109,7 @@
|
|||
'("/boot/efi"))
|
||||
(keyboard-layout keyboard-layout)))
|
||||
(file-systems %local-filesystem)
|
||||
(swap-devices %local-swap)
|
||||
#;(swap-devices %local-swap)
|
||||
(users
|
||||
(cons*
|
||||
(user-account
|
||||
|
@ -120,7 +120,7 @@
|
|||
%base-user-accounts))
|
||||
(packages
|
||||
(append
|
||||
(list emacs emacs-desktop-environment font-terminus git hwdata nss-certs readline swayfx)
|
||||
(list emacs emacs-desktop-environment font-terminus git nss-certs readline)
|
||||
%base-packages))
|
||||
(services
|
||||
(append
|
||||
|
|
|
@ -2,6 +2,11 @@
|
|||
herd start cow-store /mnt
|
||||
mkdir -p ~/.config/guix
|
||||
cp channels.scm ~/.config/guix/channels.scm
|
||||
mkdir -p /mnt/etc/guix/
|
||||
cp channels.scm /mnt/etc/guix/
|
||||
mkdir -p /etc/guix
|
||||
cp channels.scm /etc/guix
|
||||
guix pull
|
||||
sed -i 's|/etc/config.scm|/mnt/etc/config.scm|g' ./config.scm
|
||||
guix system init ./config.scm /mnt
|
||||
guix system 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