2023-12-05 23:13:14 -07:00
|
|
|
(use-modules (gnu)
|
2023-12-06 11:12:16 -07:00
|
|
|
(nongnu packages linux)
|
|
|
|
(nongnu packages linux-initrd)
|
2023-12-05 23:13:14 -07:00
|
|
|
(metznet system base-system)
|
|
|
|
(gnu packages vim)
|
|
|
|
(gnu packages version-control)
|
|
|
|
(gnu packages shells))
|
|
|
|
|
|
|
|
(operating-system
|
|
|
|
(inherit %metznet-base-desktop-system)
|
2023-12-06 11:12:16 -07:00
|
|
|
|
|
|
|
; Requires nonfree kernel for intel wifi support
|
|
|
|
(kernel linux)
|
|
|
|
(initrd microcode-initrd)
|
|
|
|
(firmware (list linux-firmware))
|
|
|
|
|
2023-12-05 23:13:14 -07:00
|
|
|
(host-name "otto")
|
|
|
|
(bootloader (bootloader-configuration
|
|
|
|
(bootloader grub-minimal-bootloader)
|
|
|
|
(targets '("/dev/nvme0n1"))))
|
|
|
|
(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))
|
|
|
|
(sudoers-file (plain-file "sudoers"
|
|
|
|
(string-join (list
|
|
|
|
"root ALL=(ALL:ALL) NOPASSWD:ALL"
|
|
|
|
"%admin ALL=(ALL:ALL) ALL"
|
|
|
|
"") "\n")))
|
|
|
|
|
|
|
|
(packages (cons* git neovim %metznet-desktop-packages)))
|