commit 0d9fa885ee879ce48520264da920b7d02d01c497
parent 5378ca30ed78f9fa65eb56d23fdaa52d9057ef78
Author: Vineet Kumar <git@vineetk.net>
Date: Sat, 24 Jan 2026 12:08:36 -0500
saklas: add guix deploy config and fix ssh
Diffstat:
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/epistemia/deploy.scm b/epistemia/deploy.scm
@@ -0,0 +1,11 @@
+(list (machine
+ (operating-system (load "systems/saklas.scm"))
+ (environment managed-host-environment-type)
+ (configuration (machine-ssh-configuration
+ ;; (host-name "saklas")
+ (host-name "162.55.242.220")
+ (system "x86_64-linux")
+ (user "vin")
+ (host-key "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILisyUFXdEQHKE42FavKbHHJQJpQAuzbfkmjHrBqZtW2")
+ (identity "/data/ssh/id_ed25519")
+ (safety-checks? #f)))))
diff --git a/epistemia/systems/saklas.scm b/epistemia/systems/saklas.scm
@@ -37,7 +37,8 @@
(operating-system
(inherit base-system)
- (host-name "saklas")
+ ;; (host-name "saklas")
+ (host-name "162.55.242.220")
(users (cons (user-account
(name "vin")
@@ -138,7 +139,8 @@
(name "sshd")
(enabled? #t)))
(openssh-configuration
- (permit-root-login #f)
+ (permit-root-login 'prohibit-password)
+ (password-authentication? #f)
(authorized-keys
`(("vin" ,(local-file "/data/ssh/id_ed25519.pub"))
("root" ,(local-file "/data/ssh/id_ed25519.pub"))))