From 46e724f6e34b2a3b4cd4d25cc2f1129f775dcbee Mon Sep 17 00:00:00 2001 From: nyxerinys Date: Mon, 29 Jun 2026 12:32:00 -0500 Subject: [PATCH] order ssh config right --- modules/k3s/images/rsshfs-client.nix | 6 ++++-- modules/k3s/images/rsshfs-server.nix | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/modules/k3s/images/rsshfs-client.nix b/modules/k3s/images/rsshfs-client.nix index 5e728a9..e6ae429 100644 --- a/modules/k3s/images/rsshfs-client.nix +++ b/modules/k3s/images/rsshfs-client.nix @@ -126,9 +126,11 @@ pkgs.dockerTools.buildLayeredImage { contents = [ pkgs.bashInteractive pkgs.coreutils - pkgs.openssh + (pkgs.symlinkJoin { + name = "openssh-with-custom-config"; + paths = [ sshdConfig pkgs.openssh ]; + }) pkgs.tmux - sshdConfig rsshfsCmd rsshfsEntrypoint ]; diff --git a/modules/k3s/images/rsshfs-server.nix b/modules/k3s/images/rsshfs-server.nix index 08b1768..297b155 100644 --- a/modules/k3s/images/rsshfs-server.nix +++ b/modules/k3s/images/rsshfs-server.nix @@ -42,10 +42,12 @@ pkgs.dockerTools.buildLayeredImage { contents = [ pkgs.bashInteractive pkgs.coreutils - pkgs.openssh + (pkgs.symlinkJoin { + name = "openssh-with-custom-config"; + paths = [ sshdConfig pkgs.openssh ]; + }) pkgs.tmux pkgs.sshfs - sshdConfig rsshfsEntrypoint ]; fakeRootCommands = ''