Update tachikoma
systems/tachikoma.scm
19 | 19 | (use-modules (gnu system)) | |
20 | 20 | (use-modules (gnu bootloader) (gnu bootloader grub)) | |
21 | 21 | (use-modules (gnu services dns)) | |
22 | + | (use-modules (gnu services docker)) | |
22 | 23 | (use-modules (gnu services linux)) | |
23 | 24 | (use-modules (gnu services sound)) | |
24 | 25 | (use-modules (gnu services virtualization)) | |
26 | + | (use-modules (gnu services xorg)) | |
25 | 27 | (use-modules (config os)) | |
26 | 28 | ||
27 | 29 | (let ((system (tyreunom-desktop-os "tachikoma"))) | |
… | |||
29 | 31 | (inherit system) | |
30 | 32 | (bootloader | |
31 | 33 | (bootloader-configuration | |
32 | - | (target "/dev/sda") | |
34 | + | (targets '("/dev/sda")) | |
33 | 35 | (bootloader grub-bootloader))) | |
34 | 36 | (mapped-devices | |
35 | 37 | (list (mapped-device | |
… | |||
48 | 50 | (user-account | |
49 | 51 | (inherit user) | |
50 | 52 | (supplementary-groups | |
51 | - | (cons "libvirt" (user-account-supplementary-groups user)))) | |
53 | + | (cons* "docker" "libvirt" (user-account-supplementary-groups user)))) | |
52 | 54 | user)) | |
53 | 55 | (operating-system-users system))) | |
54 | 56 | (services | |
… | |||
63 | 65 | (service virtlog-service-type | |
64 | 66 | (virtlog-configuration | |
65 | 67 | (max-clients 1000))) | |
66 | - | (service dnsmasq-service-type | |
67 | - | (dnsmasq-configuration | |
68 | - | (no-resolv? #t) | |
69 | - | (servers '("80.67.169.12" | |
70 | - | "80.67.169.40" | |
71 | - | "2001:910:800::12" | |
72 | - | "2001:910:800::40")))) | |
68 | + | (service docker-service-type) | |
69 | + | (service dnsmasq-service-type | |
70 | + | (dnsmasq-configuration | |
71 | + | (no-resolv? #t) | |
72 | + | (servers '("80.67.169.12" | |
73 | + | "80.67.169.40" | |
74 | + | "2001:910:800::12" | |
75 | + | "2001:910:800::40")))) | |
76 | + | (set-xorg-configuration | |
77 | + | (xorg-configuration | |
78 | + | (keyboard-layout (keyboard-layout "fr" "bepo")) | |
79 | + | (extra-config | |
80 | + | '("\n\nSection \"Device\"" | |
81 | + | " Identifier \"modesetting\"" | |
82 | + | " Driver \"modesetting\"" | |
83 | + | " Option \"TearFree\" \"true\"" | |
84 | + | "EndSection" | |
85 | + | "\n")))) | |
73 | 86 | (modify-services desktop-services | |
74 | - | (guix-service-type config => | |
75 | - | (guix-configuration | |
76 | - | (inherit config) | |
77 | - | (authorized-keys | |
78 | - | (cons* | |
79 | - | (local-file "../keys/ene.pub") | |
80 | - | (local-file "../keys/xana.pub") | |
81 | - | (local-file "../keys/cs-pc.pub") | |
82 | - | %default-authorized-guix-keys)))) | |
87 | + | (guix-service-type config => | |
88 | + | (guix-configuration | |
89 | + | (inherit config) | |
90 | + | (authorized-keys | |
91 | + | (cons* | |
92 | + | (local-file "../keys/ene.pub") | |
93 | + | (local-file "../keys/xana.pub") | |
94 | + | (local-file "../keys/cs-pc.pub") | |
95 | + | %default-authorized-guix-keys)))) | |
83 | 96 | (pulseaudio-service-type config => | |
84 | - | (pulseaudio-configuration | |
85 | - | (inherit config) | |
97 | + | (pulseaudio-configuration | |
98 | + | (inherit config) | |
86 | 99 | (script-file | |
87 | 100 | (local-file "../files/pulse-default.pa"))))))))) |