| 1 | (use-modules (gnu)) |
| 2 | (use-service-modules desktop networking ssh xorg) |
| 3 | |
| 4 | (operating-system |
| 5 | (host-name "chaman") |
| 6 | (locale "en_CA.utf8") |
| 7 | (timezone "Canada/Eastern") |
| 8 | (keyboard-layout |
| 9 | (keyboard-layout "us" "basic")) |
| 10 | (bootloader |
| 11 | (bootloader-configuration |
| 12 | (bootloader grub-bootloader) |
| 13 | (target "/dev/sda") |
| 14 | (keyboard-layout keyboard-layout))) |
| 15 | (mapped-devices |
| 16 | (list (mapped-device |
| 17 | (source |
| 18 | (uuid "283da85e-2c84-47e6-a8ca-20f4e8efb806")) |
| 19 | (target "groot") |
| 20 | (type luks-device-mapping)) |
| 21 | (mapped-device |
| 22 | (source |
| 23 | (uuid "017ddebc-c2c3-4a0a-bda4-d47ec0bc67f0")) |
| 24 | (target "data") |
| 25 | (type luks-device-mapping)))) |
| 26 | (file-systems |
| 27 | (cons* (file-system |
| 28 | (mount-point "/") |
| 29 | (device "/dev/mapper/groot") |
| 30 | (type "ext4") |
| 31 | (dependencies mapped-devices)) |
| 32 | (file-system |
| 33 | (mount-point "/data") |
| 34 | (device "/dev/mapper/data") |
| 35 | (type "ext4") |
| 36 | (dependencies mapped-devices)) |
| 37 | %base-file-systems)) |
| 38 | (users |
| 39 | (cons* (user-account |
| 40 | (name "mab") |
| 41 | (group "users") |
| 42 | (home-directory "/home/mab") |
| 43 | (supplementary-groups |
| 44 | '("wheel" "netdev" "audio" "video"))) |
| 45 | %base-user-accounts)) |
| 46 | (packages |
| 47 | (append |
| 48 | (list (specification->package "nss-certs")) |
| 49 | %base-packages)) |
| 50 | (services |
| 51 | (cons* |
| 52 | (service xfce-desktop-service-type) |
| 53 | (set-xorg-configuration |
| 54 | (xorg-configuration |
| 55 | (keyboard-layout keyboard-layout))) |
| 56 | %desktop-services))) |