Advertisement
Guest User

Untitled

a guest
Apr 18th, 2021
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scheme 3.46 KB | None | 0 0
  1. ;; This is an operating system configuration generated
  2. ;; by the graphical installer.
  3.  
  4. (define me/screen-resolution "1920x1080")
  5.  
  6. (use-modules (gnu))
  7. (use-modules (nongnu packages linux)
  8.              (nongnu system linux-initrd))
  9. (use-service-modules desktop networking ssh xorg)
  10.  
  11. (operating-system
  12.  
  13.  ;; ----------------------------------------------------------------------------
  14.  ;; kernel
  15.  ;; ----------------------------------------------------------------------------
  16.  
  17.  ;; non-free kernel because of my hardware
  18.  (kernel linux)
  19.  (initrd microcode-initrd)
  20.  (firmware (list linux-firmware))
  21.  
  22.  (locale "en_US.utf8")
  23.  (timezone "America/Guayaquil")
  24.  
  25.  ;;; standard US keyboard layout with extra accent keys
  26.  ;; CAPS-LOCK key remapped to ESCAPE
  27.  (keyboard-layout
  28.   (keyboard-layout "us" "altgr-intl" #:options '("caps:escape")))
  29.  
  30.  (host-name "arca")
  31.  (users (cons* (user-account
  32.                 (name "annt")
  33.                 (comment "Annt")
  34.                 (group "users")
  35.                 (home-directory "/home/annt")
  36.                 (supplementary-groups
  37.                  '("wheel" "netdev" "audio" "video")))
  38.                %base-user-accounts))
  39.  
  40.  ;; ----------------------------------------------------------------------------
  41.  ;; bootloader
  42.  ;; ----------------------------------------------------------------------------
  43.  
  44.  (bootloader
  45.   (bootloader-configuration
  46.    (bootloader grub-efi-bootloader)
  47.    (target "/boot/efi")
  48.    (keyboard-layout keyboard-layout))
  49.   (theme (grub-theme
  50.           (inherit (grub-theme))
  51.           (gfxmode '(me/screen-resolution "auto")))))
  52.  (swap-devices
  53.   (list (uuid "8fe6f1e6-03d6-4812-9901-11b019ccd5ad")))
  54.  
  55.  ;; ----------------------------------------------------------------------------
  56.  ;; filesystems
  57.  ;; ----------------------------------------------------------------------------
  58.  
  59.  (file-systems
  60.   (cons* (file-system
  61.           (mount-point "/boot/efi")
  62.           (device (uuid "EED9-280F" 'fat32))
  63.           (type "vfat"))
  64.          (file-system
  65.           (mount-point "/")
  66.           (device
  67.            (uuid "ce365b81-51f5-413a-a954-0baf03cac310"
  68.                  'ext4))
  69.           (type "ext4"))
  70.          %base-file-systems))
  71.  
  72.  ;; ----------------------------------------------------------------------------
  73.  ;; packages
  74.  ;; ----------------------------------------------------------------------------
  75.  
  76.  (packages
  77.   (append
  78.    (map specification->package
  79.         '(
  80.           ;; Xorg
  81.           "awesome"
  82.           "xterm"
  83.           "alacritty"
  84.  
  85.           ;; dev
  86.           "emacs@27.2"
  87.           "vim"
  88.  
  89.           ;; apps
  90.           "ungoogled-chromium"
  91.           "dmenu"
  92.  
  93.           ;; tools
  94.           "git"
  95.           "make"
  96.  
  97.           ;; fonts
  98.           "fontconfig"
  99.           "font-fantasque-sans"
  100.           "font-ubuntu"
  101.           "font-adobe-source-han-sans"
  102.           ;;"font-adobe-source-han-sans:cn" ;; Chinese
  103.           ;;"font-adobe-source-han-sans:jp" ;; Japanese
  104.           ;;"font-adobe-source-han-sans:kr" ;; Korean
  105.  
  106.           ;; misc
  107.           "nss-certs"
  108.           ))
  109.    %base-packages))
  110.  
  111.  ;; ----------------------------------------------------------------------------
  112.  ;; services
  113.  ;; ----------------------------------------------------------------------------
  114.  
  115.  (services
  116.   (append
  117.    (list (service openssh-service-type)
  118.          (set-xorg-configuration
  119.           (xorg-configuration
  120.            (keyboard-layout keyboard-layout))))
  121.    %desktop-services)))
  122.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement