From 1ebb0e267b40d86386b66b7b81686461446e39f8 Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Tue, 22 Oct 2024 17:11:18 +0200 Subject: Add home-openssh-service-type configuration. --- guix/jd/desktops/base.scm | 13 +++++++++++++ guix/jd/home/services/desktop.scm | 3 +-- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'guix/jd') diff --git a/guix/jd/desktops/base.scm b/guix/jd/desktops/base.scm index 2cd98fd..748e11d 100644 --- a/guix/jd/desktops/base.scm +++ b/guix/jd/desktops/base.scm @@ -11,6 +11,7 @@ #:use-module (gnu home services gnupg) #:use-module (gnu home services xdg) #:use-module (gnu home services sound) + #:use-module (gnu home services ssh) #:use-module (gnu services) #:use-module (guix packages) @@ -37,6 +38,18 @@ (service home-emacs-service-type) (service home-desktop-service-type) + (service home-openssh-service-type + (home-openssh-configuration + (hosts + (list (openssh-host (name "gammu") + (host-name "172.16.1.102") + (user "serwis") + (host-key-algorithms '("+ssh-rsa"))) + (openssh-host (name "net47") + (host-name "net47.abaks.pl") + (user "serwis") + (port 22001)))))) + ;; Dont know why, but when i put home-gpg-agent-service-type as an ;; extension in home-desktop-service-type service it doesn't work. (service home-gpg-agent-service-type diff --git a/guix/jd/home/services/desktop.scm b/guix/jd/home/services/desktop.scm index d5aa414..393c2d0 100644 --- a/guix/jd/home/services/desktop.scm +++ b/guix/jd/home/services/desktop.scm @@ -192,8 +192,7 @@ (service-extension home-gpg-agent-service-type desktop-gpg-agent-service) (service-extension home-dotfiles-service-type - desktop-dotfiles-service) - )) + desktop-dotfiles-service))) (default-value #f) (description "Runs desktop services."))) -- cgit v1.2.3