Advertisement
quiliro

lightweight-desktop2.scm

Jan 10th, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 2.18 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 networking databases)
  7. (use-package-modules bootloaders certs ratpoison suckless wm)
  8.  
  9. (operating-system
  10.   (host-name "portkomputilo")
  11.   (timezone "America/Guayaquil")
  12.   (locale "es_ES.utf8")
  13.  
  14.   ;; Use the UEFI variant of GRUB with the EFI System
  15.   ;; Partition on /dev/sda1.
  16.   (bootloader (grub-configuration (grub grub-efi)
  17.                                   (device "/dev/sda1")))
  18.  
  19.   ;; Assume the target root file system is labelled "my-root".
  20.   (file-systems (cons* (file-system
  21.                          (device "my-root")
  22.                          (title 'label)
  23.                          (mount-point "/")
  24.                          (type "ext4"))
  25.                        (file-system
  26.                          ;; Specify partition here since FAT
  27.                          ;; labels are currently unsupported.
  28.                          (device "/dev/sda1")
  29.                          (mount-point "/boot/efi")
  30.                          (type "vfat"))
  31.                        %base-file-systems))
  32.  
  33.   (swap-devices '("/dev/sda3"))
  34.  
  35.   (users (cons (user-account
  36.                 (name "quiliro")
  37.                 (comment "Quiliro Ordóñez Baca")
  38.                 (group "users")
  39.                 (supplementary-groups '("wheel" "netdev"
  40.                                         "audio" "video"))
  41.                 (home-directory "/home/quiliro"))
  42.                %base-user-accounts))
  43.  
  44.   ;; Add a bunch of window managers; we can choose one at
  45.   ;; the log-in screen with F1.
  46.   (packages (cons* ratpoison i3-wm i3status dmenu ;window managers
  47.                    nss-certs                      ;for HTTPS access
  48.                    %base-packages))
  49.  
  50.   ;; Use the "desktop" services, which include the X11
  51.   ;; log-in service, networking with Wicd, and more.
  52.   (services (cons*
  53.   ;;         (tor-service)
  54.          (console-keymap-service "dvorak-es")
  55.          (mysql-service)
  56.          %desktop-services))
  57.  
  58.   ;; Allow resolution of '.local' host names with mDNS.
  59.   (name-service-switch %mdns-host-lookup-nss))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement