blob: 3e1186712607e2eb5506d623fd668c2ef9f63b1c (
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
|
(add-to-load-path "./services")
(define-module (sway)
#:use-module (gnu)
#:use-module (gnu home)
#:use-module (gnu home services)
#:use-module (gnu home services shells))
(define-public sway-packages
(service
(service-type
(name 'sway-packages)
(extensions
`(,(service-extension home-profile-service-type
(lambda (_)
(map specification->package
'("sway"
"waybar"))))))
(description "Sway Window Manager installation.")
(default-value #f))))
(define-public sway-configuration
(simple-service 'configuration-files home-files-service-type
`((".config/sway/config" ,(local-file "../sway.config"))
(".config/waybar/config" ,(local-file "../waybar.config")))))
|