Paste number 153581: untitled

Paste number 153581: untitled
Pasted by: osmano807
When:4 years, 9 months ago
Share:Tweet this! | http://paste.lisp.org/+3AI5
Channel:None
Paste contents:
Raw Source | XML | Display As
(use-modules (gnu))
(use-service-modules networking ssh)
(use-package-modules admin)

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

 ;; Assuming /dev/sdX is the target hard disk, and "root" is
 ;; the label of the target root file system.
 (bootloader (grub-configuration (device "/dev/sda")))
 (file-systems (cons (file-system
		      (device "guixsd")
		      (title 'label)
		      (mount-point "/")
		      (type "ext4"))
		     %base-file-systems))

 ;; 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 "osmano807")
	       (comment "Joaquim")
	       (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/osmano807"))
	      %base-user-accounts))

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

 ;; Add services to the baseline: a DHCP client and
 ;; an SSH server.
 (services (cons* ;;(console-keymap-service "br-abnt2")
		  (dhcp-client-service)
		  (lsh-service #:port-number 2222)
		  %base-services)))

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.