forgot the attachment.
(use-modules (gnu) (gnu system) (gnu bootloader grub) (gnu packages dns))
(use-package-modules linux certs)
(use-service-modules networking)

(operating-system
 (kernel linux-libre)
 
 (host-name "myhostname")
 (timezone "America/New_York")
 (locale "en_US.utf8")

 (bootloader (bootloader-configuration
              (bootloader grub-bootloader)
              (target #f)))

 (mapped-devices
  (list (mapped-device
         (source (uuid "my--uuid--goes--here"))
         (target "cryptroot")
         (type luks-device-mapping))))
 (file-systems
  (append
   (list (file-system
          (device "/dev/mapper/cryptroot")
          (mount-point "/")
          (type "ext4")
          (dependencies mapped-devices)))
   %base-file-systems))
 
 (sudoers-file (plain-file "sudoers" "\
root ALL=(ALL) ALL
%wheel ALL=(ALL) NOPASSWD:ALL\n"))
 (users (cons (user-account
               (name "angry")
               (group "users")
               (password (crypt "a" "$6$abc"))
               (supplementary-groups '("wheel" "audio" "video")))
              %base-user-accounts))
 (packages (cons nss-certs %base-packages))
 (services (cons*
            (service dhcp-client-service-type)
            %base-services)))

Reply via email to