aboutsummaryrefslogtreecommitdiff
path: root/tw/system/lap.scm
diff options
context:
space:
mode:
authorTimo Wilken2023-03-28 19:57:59 +0200
committerTimo Wilken2023-03-28 19:57:59 +0200
commit280c6b8e0e72fa476bd26f4fd91768d61a79c4b1 (patch)
treedf29e544ce13b5081ee76a832a2df1f6554c5e5e /tw/system/lap.scm
parent84ebc8dcfc05cd6eaa1f31fe31ecc9d497f1b4d2 (diff)
Replace deprecated functions with service-types
Diffstat (limited to 'tw/system/lap.scm')
-rw-r--r--tw/system/lap.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/tw/system/lap.scm b/tw/system/lap.scm
index efbe19f7..9a1b8571 100644
--- a/tw/system/lap.scm
+++ b/tw/system/lap.scm
@@ -291,7 +291,7 @@ support extra features (acr, pmu, gr).")
(extensions
(list cups-filters foomatic-filters brlaser))))
- (bluetooth-service)
+ (service bluetooth-service-type)
(service tw-wireguard-service-type
(tw-wireguard-configuration
@@ -324,7 +324,9 @@ support extra features (acr, pmu, gr).")
;; (service fprintd-service-type)
;; Install i3lock as a setuid binary, so it can talk to PAM.
- (screen-locker-service i3lock "i3lock")
+ (service screen-locker-service-type
+ (screen-locker-configuration
+ "i3lock" (file-append i3lock "/bin/i3lock") #f))
;; gnome-keyring is not in `%desktop-services' by default,
;; but needs to be there to add itself to /etc/pam.d/.