none efi bootloader for virtual.

This commit is contained in:
Gabriel Simmer 2021-09-07 23:03:42 +01:00
parent 1c0e3701fb
commit e61dc54649
3 changed files with 14 additions and 6 deletions

View file

@ -80,7 +80,7 @@ EndSection
(file-system (file-system
(device "/dev/sda2") (device "/dev/sda2")
(mount-point "/") (mount-point "/")
(type "ext4")) %base-file-systems))))) (type "ext4")) %base-file-systems)))
(users (cons (user-account (users (cons (user-account
(name "gsimmer") (name "gsimmer")
@ -114,4 +114,4 @@ EndSection
(xorg-configuration (xorg-configuration
(keyboard-layout keyboard-layout)))) (keyboard-layout keyboard-layout))))
%desktop-services)) %desktop-services))
(name-service-switch %mdns-host-lookup-nss))) (name-service-switch %mdns-host-lookup-nss))

View file

@ -4,4 +4,8 @@
(operating-system (operating-system
(inherit base-operating-system) (inherit base-operating-system)
(host-name "virtual")) (host-name "virtual")
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(target "/boot")
(keyboard-layout keyboard-layout))))

View file

@ -123,7 +123,7 @@ in a typing install of Guix/Linux.
(file-system (file-system
(device "/dev/sda2") (device "/dev/sda2")
(mount-point "/") (mount-point "/")
(type "ext4")) %base-file-systems))))) (type "ext4")) %base-file-systems)))
(users (cons (user-account (users (cons (user-account
(name "gsimmer") (name "gsimmer")
@ -157,7 +157,7 @@ in a typing install of Guix/Linux.
(xorg-configuration (xorg-configuration
(keyboard-layout keyboard-layout)))) (keyboard-layout keyboard-layout))))
%desktop-services)) %desktop-services))
(name-service-switch %mdns-host-lookup-nss))) (name-service-switch %mdns-host-lookup-nss))
#+end_src #+end_src
** Individual Systems ** Individual Systems
@ -203,5 +203,9 @@ This applies to any random Guix VM I spin up, usually for testing configurations
(operating-system (operating-system
(inherit base-operating-system) (inherit base-operating-system)
(host-name "virtual")) (host-name "virtual")
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(target "/boot")
(keyboard-layout keyboard-layout))))
#+end_src #+end_src