Skip to content

Commit 0b027e8

Browse files
committed
Create XDG_RUNTIME_DIR on turing
1 parent 9dac903 commit 0b027e8

1 file changed

Lines changed: 5 additions & 13 deletions

File tree

guix/machines/turing.scm

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
(use-service-modules admin
99
certbot
1010
databases
11+
dbus ; for elogind
12+
desktop
1113
networking
1214
security
1315
ssh
@@ -20,18 +22,6 @@
2022
tmux
2123
vim)
2224

23-
;; Getting "unauthorized public key"?
24-
;; your key needs to be in the guix authorized-keys, search for `guix-archive-key`.
25-
;; Add your key there, then:
26-
;; scp -r . turing.box.pydis.wtf:guix
27-
;; ssh turing.box.pydis.wtf
28-
;; cd guix
29-
;; vim turing.scm
30-
;; # Delete the `(list (machine ...))` stuff
31-
;; # Add %turing-os
32-
;; # Save
33-
;; sudo guix system reconfigure turing.scm
34-
3525
(define %guix-dir (dirname (dirname (canonicalize-path (current-filename)))))
3626

3727
(define %secrets-yaml (local-file (string-append %guix-dir "/secrets.yaml")))
@@ -73,7 +63,7 @@
7363
(append (list (service openssh-service-type
7464
(openssh-configuration
7565
(permit-root-login #f)
76-
(password-authentication? #f)
66+
(password-authentication? #f)
7767
(authorized-keys `(("cj" ,(ssh-key "chris")
7868
,(ssh-key "chris-lovelace"))
7969
("jc" ,(ssh-key "jc"))
@@ -144,6 +134,8 @@
144134
(user "root")
145135
(group "root")
146136
(permissions #o400))))))
137+
(service dbus-root-service-type)
138+
(service elogind-service-type)
147139
(service certbot-service-type
148140
(certbot-configuration
149141
(email "ops@owlcorp.uk")

0 commit comments

Comments
 (0)