summaryrefslogtreecommitdiff
path: root/suweren/home.scm
blob: 289ac9aeb072bcee50de24fce047152b20c7848b (about) (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
(define-module (suweren home)
  ;; home-profile-service-type
  #:use-module (gnu home services)

  ;; home-dbus-service-type
  #:use-module (gnu home services desktop)

  ;; home-bash-service-type
  #:use-module (gnu home services shells)

  ;; home-shepherd-service-type
  #:use-module (gnu home services shepherd)

  ;; home-pipewire-service-type
  #:use-module (gnu home services sound)

  ;; gnupg
  #:use-module (gnu packages gnupg)

  ;; librewolf
  #:use-module (gnu packages librewolf)

  ;; service
  ;; simple-service
  #:use-module (gnu services)

  ;; suweren-home-bash-configuration
  ;; suweren-home-xdg-configuration-files-extension
  #:use-module (suweren home services)

  ;; suweren-home-fontconfig-service-type
  #:use-module (suweren home services fontutils)

  ;; update-commands
  #:use-module (suweren update))

;; string ->
;; (record service)
(define-public (%suweren-home-services system user)
  (let* ((packages (list gnupg
			 librewolf))

	 (bash (service home-bash-service-type
			suweren-home-bash-configuration))
	 (dbus (service home-dbus-service-type))
	 (pipewire (service home-pipewire-service-type))
	 (profile (simple-service 'default-home-packages
				  home-profile-service-type
				  packages))
	 (shepherd (service home-shepherd-service-type))
	 (update-commands* (update-commands system user)))
    (list bash
	  dbus
	  pipewire
	  profile
	  shepherd
	  suweren-home-fontconfig-service-type
	  suweren-home-xdg-configuration-files-extension
	  update-commands*)))