Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2021
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scheme 1.65 KB | None | 0 0
  1. (use-modules (gnu)
  2.              (srfi srfi-1)
  3.              (nongnu system linux-initrd)
  4.              (nongnu packages linux))
  5.  
  6. (use-service-modules desktop networking ssh xorg)
  7.  
  8. (operating-system
  9.  (kernel linux)
  10.  (initrd microcode-initrd)
  11.  (locale "en_US.utf8")
  12.  (host-name "guix")
  13.  (timezone "Asia/Yekaterinburg")
  14.  
  15.  (keyboard-layout (keyboard-layout "us"))
  16.  
  17.  ;; This will be what is used on the target machine
  18.  (bootloader (bootloader-configuration
  19.               (bootloader grub-efi-bootloader)
  20.               (timeout 1)
  21.               (target "/boot/efi")))
  22.  
  23.  (firmware (append (list iwlwifi-firmware)
  24.                    %base-firmware))
  25.  
  26.  (users (cons* (user-account
  27.                 (name "lil")
  28.                 (group "users")
  29.                 (supplementary-groups '("wheel" "netdev" "audio" "lp" "video"))
  30.                 ;; TODO: Default to name?
  31.                 (home-directory "/home/lil"))
  32.                %base-user-accounts))
  33.  
  34.  (packages
  35.   (append
  36.    (list
  37.     (specification->package "nss-certs"))
  38.    %base-packages))
  39.  
  40.  (services
  41.   (append
  42.    (list
  43.     (service gnome-desktop-service-type)
  44.     (service openssh-service-type)
  45.     (set-xorg-configuration
  46.      (xorg-configuration
  47.       (keyboard-layout keyboard-layout))))
  48.    %desktop-services))
  49.  
  50.  (swap-devices (list "/dev/sda4"))
  51.  
  52.  (file-systems (cons*
  53.                 (file-system
  54.                  (device (file-system-label "guix"))
  55.                  (mount-point "/")
  56.                  (type "ext4"))
  57.                 ;; Not needed for bootable usb but needed for final system
  58.                 (file-system
  59.                  (device "/dev/sda1")
  60.                  (type "vfat")
  61.                  (mount-point "/boot/efi"))
  62.                 %base-file-systems)))
  63.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement