Advertisement
Guest User

My config.scm

a guest
Oct 22nd, 2016
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scheme 1.72 KB | None | 0 0
  1. ;; This is an operating system configuration template
  2. ;; for a "bare bones" setup, with no X11 display server.
  3.  
  4. (use-modules (gnu))
  5. (use-service-modules networking ssh)
  6. (use-package-modules admin)
  7.  
  8. (operating-system
  9.   (host-name "komputilo")
  10.   (timezone "Europe/Berlin")
  11.   (locale "en_US.UTF-8")
  12.  
  13.   ;; Assuming /dev/sdX is the target hard disk, and "my-root" is
  14.   ;; the label of the target root file system.
  15.   (bootloader (grub-configuration (device "/dev/sda")))
  16.   (file-systems (cons (file-system
  17.                         (device (uuid "6d751d08-b8fd-4e81-80ab-0c96b0767385"))
  18.                         (title 'uuid)
  19.                         (mount-point "/")
  20.                         (type "ext4"))
  21.                       %base-file-systems))
  22.  
  23.   ;; This is where user accounts are specified.  The "root"
  24.   ;; account is implicit, and is initially created with the
  25.   ;; empty password.
  26.   (users (cons (user-account
  27.                 (name "alice")
  28.                 (comment "Bob's sister")
  29.                 (group "users")
  30.  
  31.                 ;; Adding the account to the "wheel" group
  32.                 ;; makes it a sudoer.  Adding it to "audio"
  33.                 ;; and "video" allows the user to play sound
  34.                 ;; and access the webcam.
  35.                 (supplementary-groups '("wheel"
  36.                                         "audio" "video"))
  37.                 (home-directory "/home/alice"))
  38.                %base-user-accounts))
  39.  
  40.   ;; Globally-installed packages.
  41.   (packages (cons tcpdump %base-packages))
  42.  
  43.   ;; Add services to the baseline: a DHCP client and
  44.   ;; an SSH server.
  45.   (services (cons* (dhcp-client-service)
  46.                    (lsh-service #:port-number 2222)
  47.                    %base-services)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement