File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88(use-service-modules admin
99 certbot
1010 databases
11+ dbus ; for elogind
12+ desktop
1113 networking
1214 security
1315 ssh
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" )))
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" ))
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" )
You can’t perform that action at this time.
0 commit comments