Commit f0518d263eac

Vincent Demeester <vincent@sbr.pm>
2020-05-12 17:41:21
profiles.ssh: openssh.override with kerberos
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent af1a40a
Changed files (1)
modules
profiles
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 = {