<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nixos-server/scripts, branch stalwart</title>
<subtitle>nixos-config for vhack.eu servers https://vhack.eu</subtitle>
<id>http://git.foss-syndicate.org/vhack.eu/nixos-server/atom?h=stalwart</id>
<link rel='self' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/atom?h=stalwart'/>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/'/>
<updated>2025-03-09T13:31:45+00:00</updated>
<entry>
<title>{modules/system-info,scripts/system_info}: Init</title>
<updated>2025-03-09T13:31:45+00:00</updated>
<author>
<name>Benedikt Peetz</name>
<email>benedikt.peetz@b-peetz.de</email>
</author>
<published>2025-03-09T13:31:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=aaca929782720c266fe21778a55d744101f83a04'/>
<id>urn:sha1:aaca929782720c266fe21778a55d744101f83a04</id>
<content type='text'>
This collects relevant information for each host in an informative
markdown file.

An example (generated via `./scripts/system_info.sh`):

    # server2

    ## Virtual Hosts

    etebase.vhack.eu: dav.vhack.eu
    gallery.s-schoeffel.de
    git.foss-syndicate.org
    invidious-router.vhack.eu: video.fosswelt.org invidious-router.sils.li
    issues.foss-syndicate.org
    libreddit.vhack.eu
    redlib.vhack.eu
    source.foss-syndicate.org
    source.vhack.eu

    ## Open ports

    TCP 22: ssh
    TCP 25: mail-smtp
    TCP 80: http
    TCP 443: https
    TCP 465: mail-smtp-tls
    TCP 993: mail-imap-tls
    TCP 995: mail-pop3-tls

    # server3

    ## Virtual Hosts

    b-peetz.de
    mastodon.vhack.eu
    matrix.vhack.eu
    miniflux.foss-syndicate.org: rss.foss-syndicate.org rss.vhack.eu miniflux.vhack.eu
    openpgpkey.b-peetz.de
    openpgpkey.s-schoeffel.de
    openpgpkey.sils.li
    openpgpkey.vhack.eu
    peertube.vhack.eu
    trinitrix.vhack.eu
    vhack.eu

    ## Open ports

    TCP 22: ssh
    TCP 80: http
    TCP 443: https
    TCP 64738: ???

    UDP 64738: ???
</content>
</entry>
<entry>
<title>scripts/get_dns.sh: Init</title>
<updated>2025-03-09T12:44:42+00:00</updated>
<author>
<name>Benedikt Peetz</name>
<email>benedikt.peetz@b-peetz.de</email>
</author>
<published>2025-03-07T16:32:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=88df4f2772080062ca25c3f84b0305ce3df06351'/>
<id>urn:sha1:88df4f2772080062ca25c3f84b0305ce3df06351</id>
<content type='text'>
This script is useful, when migrating from a hosted DNS server to our
own.

An example output looks like this (for `get_dns.sh b-peetz.de`):
```
(A) 92.60.38.179 [b-peetz.de]
(AAAA) 2a03:4000:33:25b::4f4e [b-peetz.de]
(CAA) 0 issue "letsencrypt.org" [b-peetz.de]
(CNAME) &lt;Not set&gt; [b-peetz.de]
(DNAME) &lt;Not set&gt; [b-peetz.de]
(MX) 10 mail.foss-syndicate.org. [b-peetz.de]
(NS) second-dns.netcup.net. [b-peetz.de]
(NS) third-dns.netcup.net. [b-peetz.de]
(NS) root-dns.netcup.net. [b-peetz.de]
(SOA) root-dns.netcup.net. dnsadmin.netcup.net. 2025012510 28800 7200 1209600 86400 [b-peetz.de]
(SRV) &lt;Not set&gt; [b-peetz.de]
(TXT) "v=spf1 +mx -all" [b-peetz.de]
(PTR) &lt;Not set&gt; [b-peetz.de]
(DNSKEY) &lt;Not set&gt; [b-peetz.de]
(DS) &lt;Not set&gt; [b-peetz.de]
(SSHFP) &lt;Not set&gt; [b-peetz.de]
(TLSA) &lt;Not set&gt; [b-peetz.de]
(OPENPGPKEY) &lt;Not set&gt; [b-peetz.de]
(SVCB) &lt;Not set&gt; [b-peetz.de]
(HTTPS) &lt;Not set&gt; [b-peetz.de]
(TXT) "v=DKIM1; k=rsa; t=s; s=email; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDZ0lbL3BHTuWmiRj/8ZqbEsKK/yBrhXeKDmu8Oj1IGGbQCiqxGkkrdUMzRrZD+6hH0OWjppqc4Sw/oC8ilgSzSntYzkygGjM/7uBLhWVgLjcO7ovsoF7GIldhXcQSD/3hbI0QOoMV2/w7dEZmbYsulw6b2m8FbSAHPn+RvGmwjzQIDAQAB" [mail._domainkey.b-peetz.de]
(TXT) "v=DMARC1; p=reject" [_dmarc.b-peetz.de]
```
</content>
</entry>
<entry>
<title>scripts/testInteractive: Actually build the *interactive* test driver</title>
<updated>2025-03-09T12:44:19+00:00</updated>
<author>
<name>Benedikt Peetz</name>
<email>benedikt.peetz@b-peetz.de</email>
</author>
<published>2025-02-23T17:39:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=72f1a2b625adbeda8be9771a96d784387d280ba7'/>
<id>urn:sha1:72f1a2b625adbeda8be9771a96d784387d280ba7</id>
<content type='text'>
Otherwise, the experience is simply worse.
</content>
</entry>
<entry>
<title>scripts/test_build.sh: Init</title>
<updated>2025-03-09T12:44:14+00:00</updated>
<author>
<name>Benedikt Peetz</name>
<email>benedikt.peetz@b-peetz.de</email>
</author>
<published>2025-02-09T15:21:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=46ae79aa628b328e39aae3ddb59aa9c9bb3213a2'/>
<id>urn:sha1:46ae79aa628b328e39aae3ddb59aa9c9bb3213a2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>scripts/test_interactive.sh: Actually fail when `nix build` fails</title>
<updated>2025-03-09T12:44:10+00:00</updated>
<author>
<name>Benedikt Peetz</name>
<email>benedikt.peetz@b-peetz.de</email>
</author>
<published>2025-02-09T15:19:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=ca7b9c63a7cf453b174aac725e39d3776bbadd96'/>
<id>urn:sha1:ca7b9c63a7cf453b174aac725e39d3776bbadd96</id>
<content type='text'>
</content>
</entry>
<entry>
<title>build(scripts/deploy): Init</title>
<updated>2024-12-25T15:46:27+00:00</updated>
<author>
<name>Benedikt Peetz</name>
<email>benedikt.peetz@b-peetz.de</email>
</author>
<published>2024-12-25T15:21:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=1cdec23e1a3a7f06a0a30cf036d7355ea601fc40'/>
<id>urn:sha1:1cdec23e1a3a7f06a0a30cf036d7355ea601fc40</id>
<content type='text'>
This documents the commands used for the first deployment (i.e., with a
full, disko-driven, disk formatting step).
</content>
</entry>
<entry>
<title>build(scripts/mk_network_config): Init</title>
<updated>2024-12-25T15:46:25+00:00</updated>
<author>
<name>Benedikt Peetz</name>
<email>benedikt.peetz@b-peetz.de</email>
</author>
<published>2024-12-25T15:13:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=a8bdb4fe15d6c80fe20c270f902a246fd2dcf690'/>
<id>urn:sha1:a8bdb4fe15d6c80fe20c270f902a246fd2dcf690</id>
<content type='text'>
This has been taken directly from `nixos-infect` (which rather
under-maintained, sadly).
Currently, it is extremely useful to generate the `networking.nix`
config for new hosts.
</content>
</entry>
<entry>
<title>build(scripts/test_interactive): Fix typo in variable name</title>
<updated>2024-12-24T00:24:18+00:00</updated>
<author>
<name>Benedikt Peetz</name>
<email>benedikt.peetz@b-peetz.de</email>
</author>
<published>2024-12-24T00:24:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=d327cd81d19fb05db7c161dca91d99aff0f6174a'/>
<id>urn:sha1:d327cd81d19fb05db7c161dca91d99aff0f6174a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test(scripts/lint_missing_tests.sh): Remove</title>
<updated>2024-12-23T17:42:29+00:00</updated>
<author>
<name>Benedikt Peetz</name>
<email>benedikt.peetz@b-peetz.de</email>
</author>
<published>2024-12-23T17:42:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=201f7c00c4c7cf6e6b4f5296ff35f34c48d1c701'/>
<id>urn:sha1:201f7c00c4c7cf6e6b4f5296ff35f34c48d1c701</id>
<content type='text'>
This functionality is now available via the `coImport` feature in the
`mkByName` `nixLib` function.
</content>
</entry>
<entry>
<title>build(tests): Add complementary scripts</title>
<updated>2024-08-02T21:13:38+00:00</updated>
<author>
<name>Benedikt Peetz</name>
<email>benedikt.peetz@b-peetz.de</email>
</author>
<published>2024-08-02T20:58:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.foss-syndicate.org/vhack.eu/nixos-server/commit/?id=1de8edac1a868ce564dbcb28f5ed52fab4f8ec61'/>
<id>urn:sha1:1de8edac1a868ce564dbcb28f5ed52fab4f8ec61</id>
<content type='text'>
</content>
</entry>
</feed>
