quiliro

lightweight-desktop0.scm

Jan 10th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 1.93 KB | None | 0 0
  1. ;; This is an operating system configuration template
  2. ;; for a "desktop" setup without full-blown desktop
  3. ;; environments.
  4.  
  5. (use-modules (gnu) (gnu system nss))
  6. (use-service-modules desktop)
  7. (use-package-modules wm ratpoison certs suckless)
  8.  
  9. (operating-system
  10.   (host-name "antelope")
  11.   (timezone "America/Guayaquil")
  12.   (locale "es_ES.utf8")
  13.  
  14.   ;; Assuming /dev/sdX is the target hard disk, and "my-root"
  15.   ;; is the label of the target root file system.
  16.   (bootloader (grub-configuration
  17.   ;;            (grub grub-efi)
  18.            (device "/dev/sda")))
  19.  
  20.   (file-systems (cons (file-system
  21.                         (device "my-root")
  22.                         (title 'label)
  23.                         (mount-point "/")
  24.                         (type "ext4"))
  25.                       (file-system
  26.                         (device "/dev/sda1")
  27.                         (mount-point "/boot/efi")
  28.                         (type "msdos"))
  29.                       %base-file-systems))
  30.  
  31.   (users (cons (user-account
  32.                 (name "quiliro")
  33.                 (comment "Quiliro Ordóñez Baca")
  34.                 (group "users")
  35.                 (supplementary-groups '("wheel" "netdev"
  36.                                         "audio" "video"))
  37.                 (home-directory "/home/quiliro"))
  38.                %base-user-accounts))
  39.  
  40.   ;; Add a bunch of window managers; we can choose one at
  41.   ;; the log-in screen with F1.
  42.   (packages (cons* ratpoison i3-wm i3status dmenu ;window managers
  43.                    nss-certs                      ;for HTTPS access
  44.                    %base-packages))
  45.  
  46.   ;; Use the "desktop" services, which include the X11
  47.   ;; log-in service, networking with Wicd, and more.
  48.  
  49.   (services (cons*
  50.   ;;         (tor-service)
  51.          (console-keymap-service "dvorak-es")
  52.          (mysql-service)
  53.          %desktop-services))
  54.  
  55.   ;; Allow resolution of '.local' host names with mDNS.
  56.   (name-service-switch %mdns-host-lookup-nss))
Add Comment
Please, Sign In to add comment