diff options
| author | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2026-03-25 16:56:00 +0100 |
|---|---|---|
| committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2026-03-25 21:12:00 +0100 |
| commit | 9c1831b4d19e2f4e0ba454e219fabff40055744f (patch) | |
| tree | d6355f198fbae546e1296bf4ca433860fbfe98db /deployment/machine/ssh.scm | |
| parent | 18a3bd8cfee3143f1a2ceca7c790707e47479fde (diff) | |
implement deployment of aisaka
Diffstat (limited to 'deployment/machine/ssh.scm')
| -rw-r--r-- | deployment/machine/ssh.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/deployment/machine/ssh.scm b/deployment/machine/ssh.scm new file mode 100644 index 0000000..e7339b1 --- /dev/null +++ b/deployment/machine/ssh.scm @@ -0,0 +1,24 @@ +(define-module (deployment machine ssh) + #:use-module ((deployment systems aisaka) + #:prefix deployment:systems:aisaka:) + #:use-module ((gnu machine ssh) + #:prefix gnu:machine:ssh:)) + +(define open-machine-ssh-session* + (@@ (gnu machine ssh) + open-machine-ssh-session*)) + +(define-public aisaka-configuration + (gnu:machine:ssh:machine-ssh-configuration + (host-name deployment:systems:aisaka:system-name) + (system deployment:systems:aisaka:architecture) + (build-locally? #t) + (authorize? #t) + (allow-downgrades? #f) + (safety-checks? #t) + (port 22) + (user "marek") + (identity #f) + (session (open-machine-ssh-session* (@@ (gnu machine ssh) + this-machine-ssh-configuration))) + (host-key #f))) |
