aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Wilken2024-05-08 16:37:51 +0200
committerTimo Wilken2024-05-08 16:37:51 +0200
commite14d7c7104b7c7661423dfd7444677d67209cba9 (patch)
treeb356e256fe3ff316b785eef8cda20ef67885e5f5
parent73a22bc5609c35d9e5b04807d714ed88c610f664 (diff)
Fix bootstrapping issue at setup
-rw-r--r--tw/system.scm2
-rw-r--r--tw/system/cern.scm7
2 files changed, 2 insertions, 7 deletions
diff --git a/tw/system.scm b/tw/system.scm
index 3a5bd694..30710b8f 100644
--- a/tw/system.scm
+++ b/tw/system.scm
@@ -71,7 +71,7 @@
,(local-file "system/files/timo.pub")
,(local-file "system/files/timo-phone-gpg.pub")))))))
-(define (tw-login-configuration config)
+(define-public (tw-login-configuration config)
"Patch the given `login-configuration' to my liking."
(login-configuration
(inherit config)
diff --git a/tw/system/cern.scm b/tw/system/cern.scm
index 002386f6..0f706e21 100644
--- a/tw/system/cern.scm
+++ b/tw/system/cern.scm
@@ -239,12 +239,7 @@
(cons* (geoclue-application "redshift" #:system? #f)
%standard-geoclue-applications))))
- (login-service-type
- config =>
- (login-configuration
- (inherit config)
- (motd (plain-file "no-motd" ""))
- (allow-empty-passwords? #f)))
+ (login-service-type config => (tw-login-configuration config))
;; openntpd works better.
(delete ntp-service-type))))))