Paste number 309101: b

Paste number 309101: b
Pasted by: a
When:5 years, 10 months ago
Share:Tweet this! |
Paste contents:
Raw Source | XML | Display As
(use-modules (gnu))
(use-service-modules networking)
(use-package-modules admin)

  (host-name "komputilo")
  (timezone "Europe/Berlin")
  (locale "en_US.UTF-8")

  ;; A bootable root partition /dev/sda1 ext4
  ;; An encrypted home partition /dev/sda2 -> /dev/mapper/home ext4
  (bootloader (grub-configuration (device "/dev/sda")))
   (list (mapped-device
          (source "/dev/sda2")
          (target "home")
          (type luks-device-mapping))))
  (file-systems (cons* (file-system
                        (device "/dev/sda1")
                        (title 'device)
                        (mount-point "/")
                        (type "ext4"))
                        (device "/dev/mapper/home")
                        (title 'device)
                        (mount-point "/home")
                        (type "ext4"))

  ;; This is where user accounts are specified.  The "root"
  ;; account is implicit, and is initially created with the
  ;; empty password.
  (users (cons (user-account
                (name "alice")
                (comment "Bob's sister")
                (group "users")

                ;; Adding the account to the "wheel" group
                ;; makes it a sudoer.  Adding it to "audio"
                ;; and "video" allows the user to play sound
                ;; and access the webcam.
                (supplementary-groups '("wheel"
                                        "audio" "video"))
                (home-directory "/home/alice"))

  ;; Globally-installed packages.
  (packages (cons tcpdump %base-packages))

  ;; Add services to the baseline: a DHCP client
  (services (cons* (dhcp-client-service)
                   ;(lsh-service #:port-number 2222)

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.