Paste number 349410: config.scm

Paste number 349410: config.scm
Pasted by: espectalll
When:3 years, 1 month ago
Share:Tweet this! |
Paste contents:
Raw Source | XML | Display As
;;; This is an operating system configuration template for a "bare-bones" setup,
;;; suitable for booting in a virtualized environment, including virtual private
;;; servers (VPS).

(use-modules (gnu) (gnu system nss))
(use-service-modules networking desktop)
(use-package-modules admin certs gnome)

(define vm-image-motd (plain-file "motd"
  "Hey, Xerz! Welcome to your GNU system!\n"))

  (host-name "gnu")
  (timezone "Europe/Madrid")
  (locale "es_ES.utf8")

  (bootloader (grub-configuration (device "/dev/sda")
                                  (terminal-outputs '(console))))
  (file-systems (cons (file-system
                        (device "my-root")
                        (title 'label)
                        (mount-point "/")
                        (type "ext4"))

  (users (cons (user-account
                (name "xerz")
                (comment "Francisco Gómez")
                (group "users")
                (supplementary-groups '("wheel" "audio" "video"))
                (home-directory "/home/xerz"))

  ;; Globally-installed packages.
  (packages (cons* nss-certs

  (services (cons*
              (console-keymap-service "es")
              (modify-services %desktop-services
                (login-service-type config =>
                                    (inherit config)
                                    (motd vm-image-motd))))))

  (name-service-switch %mdns-host-lookup-nss))

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.