Repository navigation
Conversation
There was a problem hiding this comment.
The PR's base branch is set to master, but this PR rebuilds all NixOS tests.
Please change the base branch to the right base branch for your changes (probably staging-nixos).
Adds some credentials for provisioning a server with files this provisions: * the root user's ssh key from the ssh.authorized_keys.root credential * /etc/hosts from the network.hosts credential * creates a dropin in /etc/motd.d from the login.motd credential * and a dropin in /etc/issue.d from the logging.issue credential The last two drop-ins are not being picked up by NixOS at the moment but we can add them in follow-up PR
5036036 to
ea89c78
Compare
|
Back when I added support for ssh-generator I think there was some discussion to not use provision.conf for that, so we also can remove this afaik, since provision.conf already does this: nixpkgs/nixos/modules/services/networking/ssh/sshd.nix Lines 784 to 802 in 20ce172 |
|
Ah thanks. I'll add a commit removing that snippet from the module! We shouldn't have the same code twice :) Link to the discussion for completeness: #372979 (comment) |
|
Unless people feel heavily against including the upstream file? |
|
It's a little awkward that |
@arianvp poke to push this ;-) |
Adds some credentials for provisioning a server with files
this provisions:
The last two drop-ins are not being picked up by NixOS at the moment
but we can add them in follow-up PR
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.