Advertisement
Guest User

config.scm

a guest
May 25th, 2017
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scheme 2.73 KB | None | 0 0
  1. ;; /mnt/etc/config.scm
  2. ;; This is an operating system configuration template
  3. ;; for a "desktop" setup without full-blown desktop
  4. ;; environments.
  5.  
  6. (use-modules (gnu) (gnu system nss))
  7. (use-service-modules desktop)
  8. (use-package-modules wm certs)
  9.  
  10. (operating-system
  11.   (host-name "magnolia")
  12.   (timezone "Europe/Moscow")
  13.   (locale "en_US.utf8")
  14.  
  15.   (bootloader (grub-configuration (device "/dev/sda")
  16.                                   (grub grub-efi)))
  17.  
  18.   (file-systems (cons* (file-system
  19.                         (device "magnolia-root")
  20.                         (title 'label)
  21.                         (mount-point "/")
  22.                         (type "btrfs")
  23.                         (options "subvolume=root"))
  24.                       (file-system
  25.                         (device "boot")
  26.                         (title 'label)
  27.                         (mount-point "/boot")
  28.                         (type "ext2"))
  29.                       (file-system
  30.                         (device "efi")
  31.                         (title 'label)
  32.                         (mount-point "/boot/efi")
  33.                         (type "vfat"))
  34.                       (file-system
  35.                         (device "magnolia-root")
  36.                         (title 'label)
  37.                         (mount-point "/gnu")
  38.                         (type "btrfs")
  39.                         (options "subvolume=gnu"))
  40.                       (file-system
  41.                         (device "magnolia-root")
  42.                         (title 'label)
  43.                         (mount-point "/var")
  44.                         (type "btrfs")
  45.                         (options "subvolume=var"))
  46.                       (file-system
  47.                         (device "magnolia-root")
  48.                         (title 'label)
  49.                         (mount-point "/home")
  50.                         (type "btrfs")
  51.                         (options "subvolume=home"))
  52.                       %base-file-systems))
  53.  
  54.   (users (cons (user-account
  55.                 (name "natsu")
  56.                 (comment "Natsu Dragneel")
  57.                 (group "users")
  58.                 (supplementary-groups '("wheel" "netdev"
  59.                                         "audio" "video"))
  60.                 (home-directory "/home/natsu"))
  61.                %base-user-accounts))
  62.  
  63.   ;; We can choose one window managers at
  64.   ;; the log-in screen with F1.
  65.   (packages (cons* i3-wm i3status
  66.                    nss-certs                      ;for HTTPS access
  67.                    %base-packages))
  68.  
  69.   ;; Use the "desktop" services, which include the X11
  70.   ;; log-in service, networking with Wicd, and more.
  71.   (services %desktop-services)
  72.  
  73.   ;; Allow resolution of '.local' host names with mDNS.
  74.   (name-service-switch %mdns-host-lookup-nss))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement