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
528 B
27 lines
528 B
{ pkgs, lib, config, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
programs.ssh = {
|
|
package = pkgs.openssh.overrideAttrs (final: prev: {
|
|
patches = prev.patches ++ [
|
|
../../patches/openssh-keysign-check-remove.patch
|
|
];
|
|
});
|
|
|
|
extraConfig = ''
|
|
EnableSSHKeysign yes
|
|
|
|
Host node-*.${config.networking.domain}
|
|
HostbasedAuthentication yes
|
|
'';
|
|
};
|
|
|
|
security.wrappers."ssh-keysign" = {
|
|
source = "${pkgs.openssh}/libexec/ssh-keysign";
|
|
setuid = true;
|
|
owner = "root";
|
|
group = "root";
|
|
};
|
|
}
|