<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nixos-server/system/services/openssh, branch v0.4.1</title>
<subtitle>nixos-config for vhack.eu servers https://vhack.eu</subtitle>
<id>http://git.foss-syndicate.org/vhack.eu/nixos-server/atom?h=v0.4.1</id>
<link rel='self' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/atom?h=v0.4.1'/>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/'/>
<updated>2023-07-08T14:58:23+00:00</updated>
<entry>
<title>Fix(system/secrets): Ensure that ssh host key is available in stage 2</title>
<updated>2023-07-08T14:58:23+00:00</updated>
<author>
<name>Soispha</name>
<email>soispha@vhack.eu</email>
</author>
<published>2023-07-08T14:58:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=5bb8cb35c5d084a34cbf80f76502a567c55175ec'/>
<id>urn:sha1:5bb8cb35c5d084a34cbf80f76502a567c55175ec</id>
<content type='text'>
The `/var/lib/sshd` directory is only mounted _after_ the stage 2 init,
thus also after the system activation. Agenix, which runs in the system
activation needs the hostkey however to decrypt the secrets needed for
some units (as of right now only keycloak).

Alas the only way I see to achieve that is to store the ssh hostkey
directly on /srv, which is mounted before (it's marked as 'neededForBoot'
after all) the stage 2 init.

It should be possible to achieve this with impermanence however,
as `/var/log` is mounted in the stage 1 init; The problem is that I
have no idea _why_ only this is the only directory mounted and nothing else.
</content>
</entry>
<entry>
<title>Fix(system/services/openssh): Set correct permissions on ssh dir</title>
<updated>2023-07-04T19:36:35+00:00</updated>
<author>
<name>Soispha</name>
<email>soispha@vhack.eu</email>
</author>
<published>2023-07-04T19:36:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=f3f8e43a670b2f8e745ef93b4f6d04ca9cf8d4c5'/>
<id>urn:sha1:f3f8e43a670b2f8e745ef93b4f6d04ca9cf8d4c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix(system/services/openssh): Rename to 'openssh' as the 'd' is a typo</title>
<updated>2023-07-03T16:31:05+00:00</updated>
<author>
<name>Soispha</name>
<email>soispha@vhack.eu</email>
</author>
<published>2023-07-03T13:09:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=99d4b3b910bff6811b10a91d355e7bcddc956e4c'/>
<id>urn:sha1:99d4b3b910bff6811b10a91d355e7bcddc956e4c</id>
<content type='text'>
</content>
</entry>
</feed>
