diff options
author | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2023-01-10 01:04:13 +0100 |
---|---|---|
committer | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2023-01-10 01:07:18 +0100 |
commit | 77d13f8e0ef05affcba528310d0bdbab6765f9dc (patch) | |
tree | d7d90dd01f64b3262efacc278c3869e2fa06b4e5 /services | |
parent | 406295d13964fcce827d07e893981bf94a9922f0 (diff) |
Refactor sway-service-type to sway-packages
Diffstat (limited to 'services')
-rw-r--r-- | services/sway.scm | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/services/sway.scm b/services/sway.scm index 018144f..3e11867 100644 --- a/services/sway.scm +++ b/services/sway.scm @@ -6,17 +6,18 @@ #:use-module (gnu home services) #:use-module (gnu home services shells)) -(define-public sway-service-type - (service-type - (name 'sway) - (extensions - `(,(service-extension home-profile-service-type - (lambda (_) - (map specification->package - '("sway" - "waybar")))))) - (description "Sway Window Manager installation.") - (default-value #f))) +(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 |