diff options
author | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-08-17 16:54:21 +0200 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-08-17 20:11:12 +0200 |
commit | fca396fcdd4bf7b42b7f1cceb9634ff57100bf3e (patch) | |
tree | ddcaa72550b9d6f065403c96505963c8d08237db /suweren/system.scm | |
parent | 962d09ceb536f68a6a2cbeac564a55bbfb54f3b3 (diff) |
feat(services): install syncthing service
Diffstat (limited to 'suweren/system.scm')
-rw-r--r-- | suweren/system.scm | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/suweren/system.scm b/suweren/system.scm index 0c82fd9..9ee81b9 100644 --- a/suweren/system.scm +++ b/suweren/system.scm @@ -11,6 +11,8 @@ ; plasma-desktop-service-type #:use-module (gnu services sddm) ; sddm-configuration ; sddm-service-type + #:use-module (gnu services syncthing) ; syncthing-configuration + ; syncthing-service-type #:use-module (gnu services xorg) ; gdm-service-type #:use-module (gnu system) ; operating-system #:use-module (gnu system file-systems) ; %base-file-systems @@ -96,6 +98,15 @@ (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*)) + ;; record package -> ;; record bootloader-configuration -> ;; bool | record keyboard-layout -> @@ -138,7 +149,8 @@ (login configuration)))) (suweren-services (list plasma-desktop profile - sddm)) + sddm + syncthing)) (file-systems* (append %base-file-systems file-systems*)) |