summaryrefslogtreecommitdiff
path: root/systems/akashi.scm
blob: 03bc869ce2b001ab42196ceea98de46cdc49b2a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
(define-module (systems akashi))

(define host-name*
  "akashi")

(define (users)
  (use-modules (users id1000))
  (list uid1000-account))

(define (operating-system*)
  (use-modules (gnu services guix)
	       (machines thinkpad-x200)
	       (suweren system)
	       (users id1000))
  (let* ((home-environments `((,uid1000-name ,(uid1000-home-environment host-name*))))

	 (guix-home ((@ (gnu services) service)
		     guix-home-service-type
		     home-environments))

	 (keyboard-layout ((@ (gnu system keyboard) keyboard-layout)
			   "pl"))
	 (services* (list guix-home
			  ((@ (gnu services base) udev-rules-service)
			   'adb-udev
			   (@ (gnu packages android) android-udev-rules))))
	 (timezone* "Europe/Warsaw"))
    ((@ (gnu system) operating-system)
     (inherit %suweren-operating-system)
     (kernel kernel*)
     (bootloader (bootloader-configuration* keyboard-layout))
     (keyboard-layout keyboard-layout)
     (initrd initrd*)
     (firmware firmware*)
     (host-name host-name*)
     (file-systems ((@ (machines thinkpad-x200) file-systems*) host-name*))
     (swap-devices (swap-devices* host-name*))
     (users (users))
     (timezone timezone*)
     (services services*))))

(define-public operating-system*
  (operating-system*))

operating-system*