aboutsummaryrefslogtreecommitdiffstats
path: root/modules (unfollow)
Commit message (Collapse)Author
2025-06-07modules/redlib: Remove old `libreddit` aliasBenedikt Peetz
2025-06-07modules/git-back: Init with the out-of-tree backBenedikt Peetz
2025-06-06pkgs/stalwart-mail: Update to nixos 25.05Benedikt Peetz
Now the stalwart-mail package is by default free. As such, we could drop the respective patches.
2025-05-05modules/atuin-sync: InitBenedikt Peetz
2025-05-04modules/matrix: Provide postgresql with a correct sql statementBenedikt Peetz
2025-05-04modules/nextcloud: add calendar, contacts, tasks appsSilas Schöffel
2025-04-28pkgs/taskchampion-sync: Put the sync server behind a ngnix proxyBenedikt Peetz
I realized, that the new taskchampion-sync-server uses a http api (instead of the custom protocol of taskserver). As such, we obviously want to put it behind a ngnix reverse proxy.
2025-04-25modules/sharkey: Add required `@chown` syscall group to allow listBenedikt Peetz
The `~@priviledged` needed to go, as `@chown` is part of this group.
2025-04-24modules/sharkey: Ensure, that it can access the host's CPUsBenedikt Peetz
This is, for some reason, needed for image uploads to sharkey.
2025-04-24modules/system-info: Provide a nice warning message, if a port is not yet ↵Benedikt Peetz
registered
2025-04-24modules/matrix: Use the typed NixOS for user and db creationBenedikt Peetz
Note, that I have no way to test if this is actually going to work (no tests for matrix). But, I assume that it is not going to pose problems, as we are not migrating the db and these options won't remove state.
2025-04-24modules/matrix: Group `vhack` attr keys togetherBenedikt Peetz
2025-04-24modules/mastodon: Group `vhack` keys togetherBenedikt Peetz
2025-04-23modules/taskchampion: Make its data directory owned by taskchampion userBenedikt Peetz
2025-04-23modules/stalwart-mail: Add recommended proxy settings for stalwarts-proxyBenedikt Peetz
This includes setting things, like setting the `X-Forwarded-For` header.
2025-04-23modules/constants: Also add a user to each group, so that duplicated gids ↵Benedikt Peetz
are avoided
2025-04-23modules/stalwart-mail: Don't restart the systemd serviceBenedikt Peetz
Restarting might be useful, if stalwart is actually _running_ in prod, but currently the constant restart makes it very difficult to debug (or even stop) the service.
2025-04-23modules/stalwart-mail: Enable the http self-service interfaceBenedikt Peetz
2025-04-23modules/nginx: Set the "acme" group as group of the "acme" userBenedikt Peetz
For some reason, this is not done already. Setting this prevents an assertion being thrown, that the "acme" user does not have a group.
2025-04-23modules/stalwart-mail: Allow both nginx and stalwart-mail access to the certBenedikt Peetz
This is needed for the http challenge (and for the potential to use nginx as a proxy in the future.)
2025-04-23modules/stalwart-mail: Explicitly list out valid password hashesBenedikt Peetz
If a password hash does not match stalwart's know ones, it will just treat it as plaintext. This is obviously very bad, and should be avoided.
2025-04-23modules/stalwart-mail: Make `cfg.principals` nullableBenedikt Peetz
This makes it possible to use the internal storage
2025-04-23modules/stalwart-mail: Use correct group name for `redis-stalwart-mail`Benedikt Peetz
2025-04-22modules/sharkey: InitBenedikt Peetz
2025-04-11modules/system-info: Register taskchampion portBenedikt Peetz
2025-04-11modules/taskchampion-sync: Persist data directoryBenedikt Peetz
2025-04-11modules/taskchampion-sync: Add {u,g}ids to {group,user}Benedikt Peetz
2025-04-11{modules,test}/taskchampion-sync: InitBenedikt Peetz
2025-04-07nextcloud: init on server2Silas Schöffel
2025-03-30{hosts/server2,modules/mail}: Re-active the old mail serverBenedikt Peetz
Running two mail-servers on one system is a total /mess/. Both try to bind to the same ports, the old stack consists of **5** different systemd services whilst stalwart-mail's systemd service simply refuses to stop, etc. I'm confident that it can work, but it would probably be best to deploy the new mail-server on server3.
2025-03-30modules/mail: Avoid changing the `virtualMail` user uidBenedikt Peetz
We would need to set the `vmailUID` option to this value and even then some parts of SNM would still hardcode the default of 5000. Considering that we are in the process of phasing out SNM, this does not seem to be a worthwhile endeavour.
2025-03-30modules/mail: Actually set the uid/gid of the virtualMail userBenedikt Peetz
2025-03-29modules/stalwart-mail: Assign uids and gids to the stalwart usersBenedikt Peetz
2025-03-29modules/constants: Enforce the 0 to 400 limitBenedikt Peetz
2025-03-29modules/constants: Correctly assign each uid so that none is greater 400Benedikt Peetz
The uid ranges from 400 upwards are reserved for things that allocate them dynamic during runtime (like systemd). Our users would than get clobbered, thus we avoid that range. BREAKING CHANGE: Well, we'll need to change all uid of the files owned by the respective users.
2025-03-29modules/constants: Dry gid definitions by inheriting the uidsBenedikt Peetz
2025-03-29hosts/server2: Setup stalwalt-mail on mail.vhack.eu for soispha@vhack.euBenedikt Peetz
We need to actually test stalwart out in the real world, because the test can never actually capture all the weird things people do with their mail setup. Refs: #6ea08aa
2025-03-10modules/system-info: Include port 53 (dns) in port -> name mappingsBenedikt Peetz
2025-03-09{modules/system-info,scripts/system_info}: InitBenedikt Peetz
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: ???
2025-03-09{modules,tests}/back: Update to deal with newest backBenedikt Peetz
2025-03-09modules/stalwart-mail: Remove now unneeded `allowInsecureSmtp` optionBenedikt Peetz
2025-03-09modules/stalwart-mail-free: Remove all `security` dependent checks if it's nullBenedikt Peetz
2025-03-09modules/stalwart-mail: Capitalize default mailboxesBenedikt Peetz
This seems to be somewhat of a standart.
2025-03-09modules/stalwart-mail: Also listen on :25 without SSL but with STARTTLSBenedikt Peetz
This is important, so that other MTA can send us mail.
2025-03-09modules/stalwart-mail: Set a default value for `principals`Benedikt Peetz
2025-03-09modules/stalwart-mail: Include full systemd service and set correct dependenciesBenedikt Peetz
This also starts `nginx` so that we can complete http-01 acme challenges.
2025-03-09modules/stalwart-mail: Select DKIM keys per-domainBenedikt Peetz
2025-03-09modules/stalwart-mail: Avoid hardcoding `vhack.eu` email addressBenedikt Peetz
2025-03-09modules/dns: Add service dependenciesBenedikt Peetz
2025-03-09modules/dns: Set a reasonable verbosity levelBenedikt Peetz
The default is way too quiet.