(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")))))