my over complex system configurations dotfiles.isabelroses.com/
nixos nix flake dotfiles linux
10
fork

Configure Feed

Select the types of activity you want to include in your feed.

nixos/networking/openssh: readd banner

isabel 03fd1ed2 8e692365

+13 -1
+13 -1
modules/nixos/networking/openssh.nix
··· 1 - { lib, self, ... }: 1 + { 2 + lib, 3 + pkgs, 4 + self, 5 + config, 6 + ... 7 + }: 2 8 let 3 9 inherit (lib) concatMapAttrs; 4 10 inherit (self.lib) mkPubs; ··· 46 52 # kick out inactive sessions 47 53 ClientAliveCountMax = 5; 48 54 ClientAliveInterval = 60; 55 + 56 + Banner = toString ( 57 + pkgs.writeText "ssh_banner" '' 58 + Connected to ${config.system.name} @ ${config.system.configurationRevision} 59 + '' 60 + ); 49 61 }; 50 62 51 63 openFirewall = true;