NixOS configuration for HPC cluster https://docs.hpc.informatik.hs-fulda.de/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
545 B

  1. { pkgs, lib, config, ... }:
  2. with lib;
  3. {
  4. programs.ssh = {
  5. package = pkgs.openssh.overrideAttrs (final: prev: {
  6. patches = prev.patches ++ [
  7. ../../patches/openssh-keysign-check-remove.patch
  8. ];
  9. });
  10. extraConfig = ''
  11. EnableSSHKeysign yes
  12. Host node-*.${config.networking.domain}
  13. HostbasedAuthentication yes
  14. '';
  15. };
  16. security.wrappers."ssh-keysign" = {
  17. source = "${pkgs.openssh}/libexec/ssh-keysign";
  18. setuid = true;
  19. owner = "root";
  20. group = "root";
  21. };
  22. }