summaryrefslogtreecommitdiff
path: root/systems/akashi.scm
blob: 7239af16c1797d18d18fd34133d21a74a7ff6526 (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
(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)
	       (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"))
    ((@ (suweren system) %suweren-operating-system)
     kernel*
     (bootloader-configuration* keyboard-layout)
     keyboard-layout
     initrd*
     firmware*
     host-name*
     (file-systems* host-name*)
     (swap-devices* host-name*)
     (users)
     timezone*
     services*)))

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

operating-system*