nixpkgs/nixos
Matthias Treydte 97e61a071d nixos/ssh: take care not to accept empty host key files
In case of a power loss shortly after first boot,
the host keys gernerated by ssh-keygen could exist
in the file system but have zero size, preventing
sshd from starting up.

This commit changes the behaviour to generate host
keys if the file either does not exist or has zero
size, fixing the problem on the next boot.

Thanks to @SuperSandro2000 for figuring this out.
2021-10-12 12:25:38 +02:00
..
doc nixos/prowlarr: init 2021-10-10 14:05:33 -07:00
lib Merge pull request #112823 from deviant/nixos-boot-paths 2021-10-07 17:38:54 +02:00
maintainers Merge pull request #136909 from ncfavier/cleanup-defaults-examples 2021-10-04 20:37:42 +02:00
modules nixos/ssh: take care not to accept empty host key files 2021-10-12 12:25:38 +02:00
tests nixos/tests/prowlarr: init 2021-10-10 14:05:33 -07:00
COPYING
default.nix nixos: fix "nixos-rebuild build-vm-with-bootloader" for EFI systems 2021-01-08 19:36:10 +01:00
README
release-combined.nix release-combined.tested: Add the Sway test 2021-05-27 13:36:48 +02:00
release-small.nix
release.nix NixOS/amazonImageZfs: init 2021-08-25 10:42:35 -04:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.