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