(operating-system
  (host-name "guix")
  (keyboard-layout (keyboard-layout "us"))

  (initrd (lambda* (file-systems #:key #:allow-other-keys)
        (local-file "initrd.gz")))

  (packages [...])

  (services (list %activation-service %boot-service))
  (essential-services (list
               (service system-service-type (list))
               (service linux-builder-service-type
                (linux-builder-configuration
                 (kernel (operating-system-kernel this-operating-system))
                 (modules (operating-system-kernel-loadable-modules this-operating-system))))
               (service profile-service-type
                (operating-system-packages this-operating-system))))

  (pam-services (list))

  (bootloader (bootloader-configuration
           (bootloader grub-efi-bootloader)
           (targets '("/boot/efi"))
           (keyboard-layout keyboard-layout)))

  (file-systems (list (file-system
            (mount-point "/")
            (device "/dev/nvme0n1p1")
            (type "ext4")))))
Edit Report
Pub: 25 Feb 2025 02:12 UTC
Views: 181