Fix indentation and keyboard layout
modules/config/os.scm
| 51 | 51 | #:export (server-services | |
| 52 | 52 | desktop-services | |
| 53 | 53 | tyreunom-os | |
| 54 | - | tyreunom-desktop-os)) | |
| 54 | + | tyreunom-desktop-os)) | |
| 55 | 55 | ||
| 56 | 56 | (define (server-services host-name) | |
| 57 | 57 | (cons* | |
| 58 | 58 | (service ntp-service-type) | |
| 59 | 59 | (service openssh-service-type | |
| 60 | - | (openssh-configuration | |
| 61 | - | (authorized-keys | |
| 62 | - | `(("tyreunom" ,(local-file "../../keys/tyreunom.pub")))))) | |
| 60 | + | (openssh-configuration | |
| 61 | + | (authorized-keys | |
| 62 | + | `(("tyreunom" ,(local-file "../../keys/tyreunom.pub")))))) | |
| 63 | 63 | (modify-services %base-services | |
| 64 | 64 | (rottlog-service-type config => | |
| 65 | 65 | server-rotation-service-config) | |
… | |||
| 78 | 78 | (service tor-service-type) | |
| 79 | 79 | (service qemu-binfmt-service-type | |
| 80 | 80 | (qemu-binfmt-configuration | |
| 81 | - | (platforms (lookup-qemu-platforms "arm" "aarch64" "i686" "ppc")) | |
| 82 | - | (guix-support? #t))) | |
| 81 | + | (platforms (lookup-qemu-platforms "arm" "aarch64" "i686" "ppc")) | |
| 82 | + | (guix-support? #t))) | |
| 83 | 83 | (modify-services %desktop-services | |
| 84 | 84 | (rottlog-service-type config => | |
| 85 | 85 | desktop-rotation-service-config) | |
| 86 | 86 | (udev-service-type config => | |
| 87 | 87 | (udev-configuration | |
| 88 | - | (inherit config) | |
| 89 | - | (rules (cons* android-udev-rules | |
| 90 | - | (udev-configuration-rules config))))) | |
| 88 | + | (inherit config) | |
| 89 | + | (rules (cons* android-udev-rules | |
| 90 | + | (udev-configuration-rules config))))) | |
| 91 | 91 | (gdm-service-type config => | |
| 92 | - | (gdm-configuration | |
| 93 | - | (inherit config) | |
| 94 | - | (xorg-configuration | |
| 95 | - | (xorg-configuration | |
| 96 | - | (keyboard-layout (keyboard-layout "fr" "bepo")))))) | |
| 92 | + | (gdm-configuration | |
| 93 | + | (inherit config) | |
| 94 | + | (xorg-configuration | |
| 95 | + | (xorg-configuration | |
| 96 | + | (keyboard-layout (keyboard-layout "fr" "bepo")))))) | |
| 97 | 97 | (guix-service-type config => | |
| 98 | 98 | (guix-configuration | |
| 99 | 99 | (inherit config) | |
… | |||
| 129 | 129 | (operating-system | |
| 130 | 130 | (inherit system) | |
| 131 | 131 | (users | |
| 132 | - | (map (lambda (user) | |
| 133 | - | (if (equal? (user-account-name user) "tyreunom") | |
| 134 | - | (user-account | |
| 135 | - | (inherit user) | |
| 136 | - | (supplementary-groups '("netdev" "adbusers" "audio" "video"))) | |
| 137 | - | user)) | |
| 138 | - | (operating-system-users system))) | |
| 132 | + | (map (lambda (user) | |
| 133 | + | (if (equal? (user-account-name user) "tyreunom") | |
| 134 | + | (user-account | |
| 135 | + | (inherit user) | |
| 136 | + | (supplementary-groups '("netdev" "adbusers" "audio" "video"))) | |
| 137 | + | user)) | |
| 138 | + | (operating-system-users system))) | |
| 139 | 139 | (groups (cons (user-group (system? #t) (name "adbusers")) | |
| 140 | - | %base-groups)) | |
| 140 | + | %base-groups)) | |
| 141 | 141 | (hosts-file | |
| 142 | 142 | (plain-file "hosts" | |
| 143 | 143 | (string-append "127.0.0.1 " host-name ".lepiller.eu localhost " host-name "\n" | |
| 144 | 144 | "::1 " host-name ".lepiller.eu localhost " host-name "\n" | |
| 145 | 145 | %facebook-host-aliases))) | |
| 146 | 146 | (packages (cons* xlockmore wpa-supplicant gvfs openbox xfce4-terminal | |
| 147 | - | (operating-system-packages system)))))) | |
| 147 | + | (operating-system-packages system)))))) | |
systems/tachikoma.scm
| 30 | 30 | (bootloader grub-bootloader))) | |
| 31 | 31 | (mapped-devices | |
| 32 | 32 | (list (mapped-device | |
| 33 | - | (source (uuid "c61efb54-dd82-4f94-ba30-344ed71d0783")) | |
| 34 | - | (target "cryptroot") | |
| 35 | - | (type luks-device-mapping)))) | |
| 33 | + | (source (uuid "c61efb54-dd82-4f94-ba30-344ed71d0783")) | |
| 34 | + | (target "cryptroot") | |
| 35 | + | (type luks-device-mapping)))) | |
| 36 | 36 | (file-systems (cons (file-system | |
| 37 | - | (device "/dev/mapper/cryptroot") | |
| 37 | + | (device "/dev/mapper/cryptroot") | |
| 38 | 38 | (mount-point "/") | |
| 39 | 39 | (type "ext4") | |
| 40 | - | (dependencies mapped-devices)) | |
| 40 | + | (dependencies mapped-devices)) | |
| 41 | 41 | %base-file-systems)) | |
| 42 | - | (users (map | |
| 43 | - | (lambda (user) | |
| 44 | - | (if (equal? (user-account-name user) "tyreunom") | |
| 45 | - | (user-account | |
| 46 | - | (inherit user) | |
| 47 | - | (supplementary-groups | |
| 48 | - | (cons "libvirt" (user-account-supplementary-groups user)))) | |
| 49 | - | user)) | |
| 50 | - | (operating-system-users system))) | |
| 42 | + | (users (cons | |
| 43 | + | (user-account | |
| 44 | + | (name "zoom") | |
| 45 | + | (group "users") | |
| 46 | + | (home-directory "/home/zoom")) | |
| 47 | + | (map | |
| 48 | + | (lambda (user) | |
| 49 | + | (if (equal? (user-account-name user) "tyreunom") | |
| 50 | + | (user-account | |
| 51 | + | (inherit user) | |
| 52 | + | (supplementary-groups | |
| 53 | + | (cons "libvirt" (user-account-supplementary-groups user)))) | |
| 54 | + | user)) | |
| 55 | + | (operating-system-users system)))) | |
| 51 | 56 | (services | |
| 52 | 57 | (cons* | |
| 53 | - | (service libvirt-service-type | |
| 54 | - | (libvirt-configuration | |
| 55 | - | (unix-sock-group "libvirt"))) | |
| 56 | - | (service virtlog-service-type | |
| 57 | - | (virtlog-configuration | |
| 58 | - | (max-clients 1000))) | |
| 58 | + | (service libvirt-service-type | |
| 59 | + | (libvirt-configuration | |
| 60 | + | (unix-sock-group "libvirt"))) | |
| 61 | + | (service virtlog-service-type | |
| 62 | + | (virtlog-configuration | |
| 63 | + | (max-clients 1000))) | |
| 59 | 64 | desktop-services)))) |