system-configs/otto.scm

47 lines
2.1 KiB
Scheme

2023-12-05 23:13:14 -07:00
(use-modules (gnu)
2023-12-06 11:12:16 -07:00
(nongnu packages linux)
2023-12-06 11:27:38 -07:00
(nongnu system 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
2023-12-06 11:27:38 -07:00
;; Requires nonfree kernel for intel wifi support
2023-12-06 11:12:16 -07:00
(kernel linux)
(initrd microcode-initrd)
(firmware (list linux-firmware))
2023-12-05 23:13:14 -07:00
(host-name "otto")
(bootloader (bootloader-configuration
2023-12-06 11:27:38 -07:00
(bootloader grub-efi-bootloader)
(targets '("/boot/efi"))))
2023-12-06 12:45:00 -07:00
(services
(modify-services %metznet-desktop-services
(guix-service-type config =>
(guix-configuration (inherit config)
(substitute-urls (append (list
"https://substitutes.nonguix.org")
%default-substitute-urls))
(authorized-keys (append (list (local-file
"./signing-key.pub"))
%default-authorized-guix-keys))))))
2023-12-05 23:13:14 -07:00
(swap-devices (list (swap-space
(target (file-system-label "otto-swap")))))
2023-12-06 11:27:38 -07:00
(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))
2023-12-05 23:13:14 -07:00
(sudoers-file (plain-file "sudoers"
(string-join (list
"root ALL=(ALL:ALL) NOPASSWD:ALL"
2023-12-06 11:27:38 -07:00
"%admin ALL=(ALL:ALL) ALL" "") "\n")))
2023-12-05 23:13:14 -07:00
(packages (cons* git neovim %metznet-desktop-packages)))