Advertisement
Guest User

MY_config.scm

a guest
Dec 27th, 2017
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scheme 1.73 KB | None | 0 0
  1. ;; This is an operating system configuration template
  2. ;; for a "desktop" setup with GNOME and Xfce where the
  3. ;; root partition is encrypted with LUKS.
  4.  
  5. (use-modules (gnu) (gnu system nss))
  6. (use-service-modules desktop)
  7. (use-package-modules certs gnome)
  8.  
  9. (operating-system
  10.   (host-name "tex200")
  11.   (timezone "Asia/Bangkok")
  12.   (locale "en_US.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 (bootloader-configuration
  17.                 (bootloader grub-bootloader)
  18.                 (target "/dev/sda")))
  19.  
  20.  
  21.  
  22.   (file-systems (cons (file-system
  23.                         (device "my-root")
  24.                         (mount-point "/")
  25.                         (type "ext4")
  26.                         )
  27.                       %base-file-systems))
  28.  
  29.   (users (cons (user-account
  30.                 (name "foxmean")
  31.                 (comment "foxmean")
  32.                 (group "users")
  33.                 (supplementary-groups '("wheel" "netdev"
  34.                                         "audio" "video"))
  35.                 (home-directory "/home/foxmean"))
  36.                %base-user-accounts))
  37.  
  38.   ;; This is where we specify system-wide packages.
  39.   (packages (cons* nss-certs         ;for HTTPS access
  40.                    gvfs              ;for user mounts
  41.                    %base-packages))
  42.  
  43.   ;; Add GNOME and/or Xfce---we can choose at the log-in
  44.   ;; screen with F1.  Use the "desktop" services, which
  45.   ;; include the X11 log-in service, networking with Wicd,
  46.   ;; and more.
  47.   (services (cons* (gnome-desktop-service)
  48.                    %desktop-services))
  49.  
  50.   ;; Allow resolution of '.local' host names with mDNS.
  51.   (name-service-switch %mdns-host-lookup-nss))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement