<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nixos-server/system/services/nix-sync, branch v0.24.0</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.24.0</id>
<link rel='self' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/atom?h=v0.24.0'/>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/'/>
<updated>2024-08-02T21:13:29+00:00</updated>
<entry>
<title>refactor(nixos/{nginx, nix-sync}): Migrate from `system/services`</title>
<updated>2024-08-02T21:13:29+00:00</updated>
<author>
<name>Benedikt Peetz</name>
<email>benedikt.peetz@b-peetz.de</email>
</author>
<published>2024-08-02T20:39:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=30e649a6d43c4ef2473a1820930cbe7d43e28432'/>
<id>urn:sha1:30e649a6d43c4ef2473a1820930cbe7d43e28432</id>
<content type='text'>
Nix-sync was sort-of mixed into the nginx configuration, thus separating
it completely seemed reasonable.
</content>
</entry>
<entry>
<title>fix(nix-sync): Change last occurrences of `repo.path` to `repoPath`</title>
<updated>2024-06-15T10:09:12+00:00</updated>
<author>
<name>Benedikt Peetz</name>
<email>benedikt.peetz@b-peetz.de</email>
</author>
<published>2024-06-15T10:09:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=9b81ec39616c4d4981ba48f6c10a8f2abdc9a788'/>
<id>urn:sha1:9b81ec39616c4d4981ba48f6c10a8f2abdc9a788</id>
<content type='text'>
Using `repo.path` (with the slash on the end) results in operations on
the directory, which is the symlink target. Using `repoPath` (without
the slash) instead results in the intended operations on the symlink
itself.
</content>
</entry>
<entry>
<title>fix(nix-sync): Don't try to exit in a subshell</title>
<updated>2024-06-05T16:45:48+00:00</updated>
<author>
<name>Benedikt Peetz</name>
<email>benedikt.peetz@b-peetz.de</email>
</author>
<published>2024-06-02T19:47:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=4721eb7a3c13baddd2c8bf957f99b98d31dcf7b6'/>
<id>urn:sha1:4721eb7a3c13baddd2c8bf957f99b98d31dcf7b6</id>
<content type='text'>
The `(cmd1 &amp;&amp; cmd2)` pattern works, but fails with commands like `exit`
as the parentheses start a new subshell, which the `exit` command will
then close instead of exiting the main shell.
The curly brackets have the intended effect here, as they simply group
the commands together.
</content>
</entry>
<entry>
<title>fix(nix-sync): Ensure that the `target` for `ln` never ends with a `/`</title>
<updated>2024-06-05T16:45:40+00:00</updated>
<author>
<name>Benedikt Peetz</name>
<email>benedikt.peetz@b-peetz.de</email>
</author>
<published>2024-06-02T19:46:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=2adfa79ef821cf18f3fb3dbf8f8476c9a1eea539'/>
<id>urn:sha1:2adfa79ef821cf18f3fb3dbf8f8476c9a1eea539</id>
<content type='text'>
Otherwise, `ln` tries to create the symlink _in_ the target directory.
</content>
</entry>
<entry>
<title>fix(nix-sync): Add code-path to create a repo's path, if absent</title>
<updated>2024-06-05T16:42:47+00:00</updated>
<author>
<name>Benedikt Peetz</name>
<email>benedikt.peetz@b-peetz.de</email>
</author>
<published>2024-06-02T19:31:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=2742072176a41f61e09d62e5a348726effaa1ccb'/>
<id>urn:sha1:2742072176a41f61e09d62e5a348726effaa1ccb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(nix-sync): Ensure that the service can write to all needed paths</title>
<updated>2024-06-01T16:42:27+00:00</updated>
<author>
<name>Benedikt Peetz</name>
<email>benedikt.peetz@b-peetz.de</email>
</author>
<published>2024-06-01T16:39:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=16524073ad3d386a44f3d42507cb7630c6a6ca47'/>
<id>urn:sha1:16524073ad3d386a44f3d42507cb7630c6a6ca47</id>
<content type='text'>
Previously, the generated service _could_ write to the directory, but
wanted to create the directory, if it was absent. Creating this
directory, requires to be able to write in the parent directory.
This is fixed, by ensuring that the parent directories are included.
</content>
</entry>
<entry>
<title>fix(nix-sync): Explicitly set the `network-online.target` dependency</title>
<updated>2024-06-01T16:03:56+00:00</updated>
<author>
<name>Benedikt Peetz</name>
<email>benedikt.peetz@b-peetz.de</email>
</author>
<published>2024-06-01T16:03:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=a2e86e18a7082380e2b4693627f8ef6e03fdc842'/>
<id>urn:sha1:a2e86e18a7082380e2b4693627f8ef6e03fdc842</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(system/services/nginx): Add the GPG WKD</title>
<updated>2024-05-25T14:43:39+00:00</updated>
<author>
<name>Benedikt Peetz</name>
<email>benedikt.peetz@b-peetz.de</email>
</author>
<published>2024-05-12T17:06:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=572cb127feab945be51609c75128ba9100deef9f'/>
<id>urn:sha1:572cb127feab945be51609c75128ba9100deef9f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Style(treewide): Merge attrs together</title>
<updated>2023-10-14T14:21:07+00:00</updated>
<author>
<name>Soispha</name>
<email>soispha@vhack.eu</email>
</author>
<published>2023-10-13T16:19:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=1fda2742810c69e9a4c574d77ac18f69a24bfb5e'/>
<id>urn:sha1:1fda2742810c69e9a4c574d77ac18f69a24bfb5e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix(system/services/nix-sync): Remove timeout on build</title>
<updated>2023-08-02T14:19:50+00:00</updated>
<author>
<name>Soispha</name>
<email>soispha@vhack.eu</email>
</author>
<published>2023-07-31T16:27:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=dfb847a3c9d3bdd73aa187e590c239f3531f5e07'/>
<id>urn:sha1:dfb847a3c9d3bdd73aa187e590c239f3531f5e07</id>
<content type='text'>
The unit had the potential to fail, if the build took longer than the
default timeout. This is obviously not ideal, so the timeout was
removed, as all nix builds should be safe enough not to devour
resources.
</content>
</entry>
</feed>
