2 ms·
As I said on reddit, I love the s-exp based system definition. http://www.gnu.org/software/guix/manual/html_node/Using-the-Configuration-System.html http://www.
by agumonkey 12y ago
As I said on reddit, I love the s-exp based system definition. http://www.gnu.org/software/guix/manual/html_node/Using-the-Configuration-System.html http://www.gnu.org/software/guix/manual/html_node/Using-the-...
(use-modules (gnu) ; for 'user-account', '%base-services', etc.
(gnu packages emacs) ; for 'emacs'
(gnu services ssh)) ; for 'lsh-service'
(operating-system
(host-name "komputilo")
(timezone "Europe/Paris")
(locale "fr_FR.UTF-8")
(bootloader (grub-configuration
(device "/dev/sda")))
(file-systems (cons (file-system
(device "/dev/sda1") ; or partition label
(mount-point "/")
(type "ext3"))
%base-file-systems))
(users (list (user-account
(name "alice")
(password "")
(uid 1000) (group 100)
(comment "Bob's sister")
(home-directory "/home/alice"))))
(packages (cons emacs %base-packages))
(services (cons (lsh-service #:port 2222 #:allow-root-login? #t)