diff options
author | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-09-29 12:46:14 +0200 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-09-29 12:52:41 +0200 |
commit | 519f6e2f6b470172a70730f813f3cbc5e53fd6f4 (patch) | |
tree | 0a0696b428018468c543e685873339f9f33feef1 | |
parent | 396a8874274f4cddf6e08454db50b767a861444d (diff) |
refactor(system): reconstruct services
-rw-r--r-- | suweren/system.scm | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/suweren/system.scm b/suweren/system.scm index 3d37171..3ef1e6d 100644 --- a/suweren/system.scm +++ b/suweren/system.scm @@ -98,6 +98,17 @@ (login-configuration (inherit configuration) (allow-empty-passwords? #f))) +;; record syncthing-configuration +(define syncthing-configuration* + (syncthing-configuration (user "marek"))) + +;; record syncthing-service-type +(define syncthing + (service syncthing-service-type + syncthing-configuration*)) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + (define-public %suweren-file-systems (@ (gnu system file-systems) %base-file-systems)) @@ -116,22 +127,14 @@ (guix configuration)) (login-service-type configuration => - (login configuration)))) - (suweren-services (list plasma-desktop - profile - sddm - syncthing))) + (login configuration))))) (append %desktop-services* - suweren-services))) - -;; record syncthing-configuration -(define syncthing-configuration* - (syncthing-configuration (user "marek"))) + (list plasma-desktop + profile + sddm + syncthing)))) -;; record syncthing-service-type -(define syncthing - (service syncthing-service-type - syncthing-configuration*)) +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; record package -> ;; record bootloader-configuration -> |