bootloader change to efi

master
noah metz 2023-12-06 11:27:38 -07:00
parent 7753e38fc5
commit 23f66520c7
1 changed files with 13 additions and 10 deletions

@ -1,6 +1,6 @@
(use-modules (gnu) (use-modules (gnu)
(nongnu packages linux) (nongnu packages linux)
(nongnu packages linux-initrd) (nongnu system linux-initrd)
(metznet system base-system) (metznet system base-system)
(gnu packages vim) (gnu packages vim)
(gnu packages version-control) (gnu packages version-control)
@ -9,25 +9,28 @@
(operating-system (operating-system
(inherit %metznet-base-desktop-system) (inherit %metznet-base-desktop-system)
; Requires nonfree kernel for intel wifi support ;; Requires nonfree kernel for intel wifi support
(kernel linux) (kernel linux)
(initrd microcode-initrd) (initrd microcode-initrd)
(firmware (list linux-firmware)) (firmware (list linux-firmware))
(host-name "otto") (host-name "otto")
(bootloader (bootloader-configuration (bootloader (bootloader-configuration
(bootloader grub-minimal-bootloader) (bootloader grub-efi-bootloader)
(targets '("/dev/nvme0n1")))) (targets '("/boot/efi"))))
(swap-devices (list (swap-space (swap-devices (list (swap-space
(target (file-system-label "otto-swap"))))) (target (file-system-label "otto-swap")))))
(file-systems (cons (file-system (file-systems (cons* (file-system
(device (file-system-label "otto-data")) (device (file-system-label "OTTO-BOOT"))
(mount-point "/") (mount-point "/boot/efi")
(type "ext4")) %base-file-systems)) (type "vfat"))
(file-system
(device (file-system-label "otto-data"))
(mount-point "/")
(type "ext4")) %base-file-systems))
(sudoers-file (plain-file "sudoers" (sudoers-file (plain-file "sudoers"
(string-join (list (string-join (list
"root ALL=(ALL:ALL) NOPASSWD:ALL" "root ALL=(ALL:ALL) NOPASSWD:ALL"
"%admin ALL=(ALL:ALL) ALL" "%admin ALL=(ALL:ALL) ALL" "") "\n")))
"") "\n")))
(packages (cons* git neovim %metznet-desktop-packages))) (packages (cons* git neovim %metznet-desktop-packages)))