1 ;; This is an operating system configuration template for a "Docker image"
2 ;; setup, so it has barely any services at all.
7 (host-name "komputilo")
8 (timezone "Europe/Berlin")
11 ;; This is where user accounts are specified. The "root" account is
12 ;; implicit, and is initially created with the empty password.
13 (users (cons (user-account
15 (comment "Bob's sister")
17 (supplementary-groups '("wheel"
21 ;; Globally-installed packages.
22 (packages %base-packages)
24 ;; Because the system will run in a Docker container, we may omit many
25 ;; things that would normally be required in an operating system
26 ;; configuration file. These things include:
30 ;; * services such as mingetty, udevd, slim, networking, dhcp
32 ;; Either these things are simply not required, or Docker provides
33 ;; similar services for us.
35 ;; This will be ignored.
36 (bootloader (bootloader-configuration
37 (bootloader grub-bootloader)
38 (target "does-not-matter")))
39 ;; This will be ignored, too.
40 (file-systems (list (file-system
41 (device "does-not-matter")
43 (type "does-not-matter"))))
45 ;; Guix is all you need!
46 (services (list (service guix-service-type))))