home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f0518d263eac3d947365c8372b6e959e479fe993
parent af1a40a124ada1baf9664ad2aa94d89cd0f21484
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Tue, 12 May 2020 17:41:21 +0200

profiles.ssh: openssh.override with kerberos

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mmodules/profiles/ssh.nix | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/modules/profiles/ssh.nix b/modules/profiles/ssh.nix @@ -1,8 +1,9 @@ -{ config, lib, ... }: +{ config, lib, pkgs, ... }: with lib; let cfg = config.profiles.ssh; + patchedOpenSSH = pkgs.openssh.override { withKerberos = true; withGssapiPatches = true; }; in { options = { @@ -19,6 +20,9 @@ in }; }; config = mkIf cfg.enable { + home.packages = [ + patchedOpenSSH + ]; home.file.".ssh/sockets/.placeholder".text = ''''; xdg.configFile.".ssh/.placeholder".text = ''''; programs.ssh = {