Commit graph

2256 commits

Author SHA1 Message Date
Marcel Novotny 2411e6eecd Added Allowners muc module to prosody and jitsi-meet 2025-03-25 23:17:58 +01:00
Dominique Martinet fb5e34fb39 nixos/cryptpad: fix service with nodejs 22.11 (for real)
The previous fix had only been tested locally through a runtime edit of
the service, and the order in which @chown had been re-added was
different so commit cf498c1a61 ("nixos/cryptpad: fix service with
nodejs 22.11") did not actually fix the issue.

This properly orders @chown after @privileged so the rule is respected,
and also properly denies with EPERM instead of allowing the chown family
of syscalls: this will properly prevent seccomp from killing nodejs
while still disallowing fchown()

Fixes https://github.com/NixOS/nixpkgs/issues/370717
2025-03-25 13:37:25 +00:00
Maximilian Bosch 773094b49c
nixos/nextcloud: clarify support status of apps in the manual
Realized that this is something, I discussed with Benedikt, but wasn't
written down somewhere.
2025-03-25 12:41:30 +00:00
Maximilian Bosch d3110c9532
nextcloud: update maintainer information
* Create a dedicated team. Before, information was inconsistent between
  e.g. tests and package, module had none at all.
* Add maintainership from us to all trivially packaged apps. This is
  only to make sure that we take care of them building and installing
  and that's about it.
2025-03-25 12:41:18 +00:00
Maximilian Bosch 1fcfb2dcea
Merge: nixos/nextcloud: Also install when config.php exists but is empty (#391375) 2025-03-25 10:43:41 +00:00
thiloho 6cc803093c
nixos/archtika: fix mkEnableOption naming 2025-03-24 11:45:34 +01:00
Jonas Heinrich 46e424a858
nixos/dokuwiki: Remove unused enable option (#391057) 2025-03-24 10:30:51 +01:00
Robert Helgesson ee04cf23b6 nixos/grav: clean up PHP extensions
Specifically, simply add the extensions that are not already part of
the default `enabled` set.
2025-03-24 10:09:27 +01:00
Jonas Heinrich 82a382ed09
nixos/keycloak: add realmFiles option (#273833) 2025-03-24 09:35:04 +01:00
Weijia Wang 367cbed935
nixos/kimai: ensure that our local.yaml is valid on init time (#371919) 2025-03-23 20:23:59 +01:00
Weijia Wang 86e6f70e1d
nixos/kimai: fix an error on first init after an upgrade (#371917) 2025-03-23 20:23:44 +01:00
Jonas Heinrich 4a8b7bb45d nixos/froide-govplan: init 2025-03-23 18:05:54 +01:00
Sandro Jäckel 72b9742768
nixos/nextcloud-notify_push: add nextcloud-setup
without it notify might start to early and then fail 5 times before
nextcloud is even ready.
2025-03-23 00:27:09 +01:00
hot burger 2dad835033 nextcloud-occ: work with sudo disabled 2025-03-22 15:11:17 -07:00
provokateurin 34da0bd4fc
nixos/nextcloud: Also install when config.php exists but is empty
Running any occ command will create an empty config file automatically: f85154f1e1/lib/base.php (L194-L196)
This causes the current check to never execute the installation, in case any occ command was run before it (which itself fails because Nextcloud is not installled yet).
So any services which don't properly depend on nextcloud-setup.service cause Nextcloud to never be installed.
2025-03-21 14:51:30 +01:00
Sandro 9f2544d0ea
nixos/wakapi: harden systemd service (#389534) 2025-03-20 17:48:34 +01:00
Kerstin 72cda846bf
nixos/mobilizon: create sitemap directory (#391389) 2025-03-20 14:35:36 +01:00
Robert Rose cd10f9a874 nixos/keycloak: add realmFiles option
Add an option to import Keycloak realms during
startup from exported realm files.
2025-03-20 12:07:38 +01:00
Sandro Jäckel c317d5e222
nixos/mobilizon: create sitemap directory
Mar 19 21:35:05 mobilizon mobilizon[1324]: 21:35:05.504 [info] {"args":{},"attempt":19,"duration":130905,"error":"** (File.Error) could not write to file \"/var/lib/mobilizon/sitemap/sitemap-00001.xml\": no such file or directory","event":"job:exception","id":178203,"max_attempts":20,"meta":{},"queue":"background","queue_time":510620016,"source":"oban","state":"failure","tags":[],"worker":"Mobilizon.Service.Workers.BuildSiteMap"}
2025-03-19 22:52:48 +01:00
Sandro ddef00d3f0
nixos/zipline: improve systemd hardening (#387119) 2025-03-19 19:01:37 +01:00
Sandro 1289c91409
nixos/echoip: improve systemd hardening (#387466) 2025-03-19 19:00:27 +01:00
Defelo ef19fcf725
nixos/zipline: improve systemd hardening 2025-03-19 18:16:01 +01:00
e1mo 100559d83c
nixos/dokuwiki: Remove unused enable option
The option has been added in 50029ed89c
but never had any effect. As far as I could tell, it was only added for
backward compatibility. I think it's safe to remove this after 3+ years.

I opted for removal instead of implementing it since the module will
just do nothing if no site is configure, thus no enable / disable switch
is needed. Especially on a per-site level.
2025-03-18 20:36:09 +01:00
Sandro 326cd70480
nixos/movim: improve systemd dependency directives (#388750) 2025-03-18 17:42:52 +01:00
Pol Dellaiera ad9f51048b
nixos/flarum: restart on package update (#389453) 2025-03-16 07:28:51 +01:00
Pol Dellaiera b29c5b7119
treewide: add documentation for nixos systemd units (#389283) 2025-03-15 21:30:08 +01:00
jrdsgl 38590f303b
nixos/changedetection-io: fix typo (#383539)
Update changedetection-io.nix

typo correction variables
2025-03-15 10:59:05 +01:00
โทสฺตัล 521d3689fb nixos/movim: move phpExecutionUnit service in requires order 2025-03-15 16:25:53 +07:00
โทสฺตัล 02600c4ac5 nixos/movim: improve systemd dependency directives 2025-03-15 16:25:52 +07:00
Mikael Voss 6a55cc63f3
akkoma-emoji.blobs_gg: move to top‐level & migrate to pkgs/by-name 2025-03-14 15:13:10 +01:00
Mikael Voss 4c17535c7b
akkoma-frontends.admin-fe: rename to akkoma-admin-fe & migrate to pkgs/by-name 2025-03-14 14:55:23 +01:00
Mikael Voss 30cbef7dc9
akkoma-fe: migrate to pkgs/by-name 2025-03-14 14:48:19 +01:00
Austin Horstman 14ee3b00fe
nixos/slskd: remove useless inotify watches (#389586) 2025-03-14 08:11:31 -05:00
Kerstin Humm c06efc8927
nixos/mastodon: some formatting 2025-03-13 16:51:55 +01:00
isabel c7968cf140
nixos/wakapi: harden systemd service
when using `systemd-analyze security wakapi.service` we went from a 5.9
to a 3.
2025-03-13 15:30:32 +00:00
ppom 5611f102a2 nixos/slskd: remove useless inotify watches
Closes #389397
2025-03-13 12:00:00 +01:00
Florian Agbuya 8125e281fd nixos/flarum: restart on package update
Ensures the Flarum service automatically restarts when its package is updated, preventing stale instances from running after upgrades.
2025-03-13 17:16:34 +08:00
h7x4 ab0564bd10
treewide: add documentation for nixos systemd units 2025-03-12 18:00:38 +01:00
K900 6eb7fc1303
nixos/akkoma: remove IFD (#382944) 2025-03-12 14:49:01 +03:00
Pol Dellaiera 598e3abada
nixos/outline: remove non-existent systemd option (#388886) 2025-03-11 22:50:50 +01:00
โทสฺตัล 5b820b674a nixos/movim: fix minification options & document them
Removes the packages since this can be overridden with
services.movim.package.
2025-03-11 11:36:22 +07:00
Talya Connor 9173c89764 nixos/outline: remove non-existent systemd option
Maybe PrivateHome once existed? It doesn't now, though, and this is the
only instance of it in all of nixpkgs!

    Mar 11 15:18:28 kala systemd[1]: /etc/systemd/system/outline.service:46: Unknown key 'PrivateHome' in section [Service], ignoring.
2025-03-11 15:26:30 +11:00
โทสฺตัล bc27f99008 nixos/movim: add overridden package to ð environment (inc. symlinks) 2025-03-10 22:51:02 +07:00
Patrick 1cdca46944
nixos/homebox: update default for 0.18.0 2025-03-10 11:07:47 +01:00
Mathieu Fenniak 801eacddcc replace multiple optional w/ one optionals
import optionals
2025-03-09 12:56:06 -06:00
โทสฺตัล 076fdda013 {movim,nixos/movim}: fix database options
Wrong casing, doesn’t work with those not creating a local database, &
has a bug with implementation on how it should be overriding the
database support to the movim package.
2025-03-09 20:13:13 +07:00
Aleksana 7791660b3f
nixos/nextcloud: update nextcloud version in example (#387933) 2025-03-08 20:26:35 +08:00
Maximilian Bosch 6fe52c5dae
Merge: nixos/nextcloud: fix shellcheck after #367433 (#387913) 2025-03-08 11:32:05 +01:00
shelvacu 1a4575f9db
nixos/modules: Add security.pki.caBundle option and make all services use it for CA bundles (#352244)
Previously some modules used `config.environment.etc."ssl/certs/ca-certificates.crt".source`, some used `"/etc/ssl/certs/ca-certificates.crt"`, and some used `"${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"`. These were all bad in one way or another:

- `config.environment.etc."ssl/certs/ca-certificates.crt".source` relies on `source` being set; if `text` is set instead this breaks, introducing a weird undocumented requirement
- `"/etc/ssl/certs/ca-certificates.crt"` is probably okay but very un-nix. It's a magic string, and the path doesn't change when the file changes (and so you can't trigger service reloads, for example, when the contents change in a new system activation)
- `"${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"` silently doesn't include the options from `security.pki`

Co-authored-by: Shelvacu <git@shelvacu.com>
2025-03-08 08:41:08 +00:00
Sandro 48ecb73067
netbox_4_2: init (#376100) 2025-03-07 20:31:48 +01:00
Sandro ea79d17e5b
nixos/nextcloud: update nextcloud version in example 2025-03-07 20:20:39 +01:00
Sandro Jäckel 98b175f44a
nixos/nextcloud: fix shellcheck after #367433 2025-03-07 14:41:02 +01:00
Maximilian Bosch 6c4f93e113
Merge: nixos/nextcloud: use LoadCredential to read secrets (#367433) 2025-03-07 10:58:29 +01:00
โทสฺตัล 43c1654cae nixos/movim: run nixfmt on module
This 711-line file was expanded into 817-line file by nixfmt.
Readability was hurt as now I can’t see as much in my editor at a time;
this directly makes editing & reviewing slower as reading is harder. I
am upset about this change.
2025-03-07 14:53:05 +07:00
Defelo eccf638822
nixos/echoip: improve systemd hardening 2025-03-06 02:01:23 +01:00
Maximilian Bosch 432d274c81
nixos/nextcloud-notify_push: use RestartMode=direct
`nextcloud-notify_push.service` requires
`nextcloud-notify_push-setup.service`. If the latter fails (e.g. because
of Nextcloud not being there yet), the push service would also fail with
result 'dependency'.

RestartMode=direct doesn't put a unit into failed state IF it's about to
be restarted again. That way, `nextcloud-notify_push` will await several
restart attempts. Only if the unit fails due to a rate-limit (i.e. too
many restarts), the push service will also fail.

If the startup is still too slow, it may make sense for administrators to
configure higher intervals between the start attempts with RestartSec.
2025-03-05 17:27:04 +01:00
Sandro d52a42c0c1
part-db: init at 1.14.5 (#365249) 2025-03-05 15:31:27 +01:00
Nico Felbinger c456896108
nixos/part-db: init module
Co-authored-by: Sandro <7258858+supersandro2000@users.noreply.github.com>
Co-authored-by: Tert0 <62036464+tert0@users.noreply.github.com>
2025-03-05 12:56:25 +01:00
Sandro 4f7fc6dfdf
nixos/glitchtip: init module (#386013) 2025-03-05 01:23:43 +01:00
Defelo 5da710d274
nixos/glitchtip: init module
Co-authored-by: soyouzpanda <soyouzpanda@soyouzpanda.fr>
Co-authored-by: Nico Felbinger <nico@felbinger.eu>
2025-03-05 00:24:50 +01:00
Joshua Kobschätzki 3403819b4d netbox_4_2: init
Co-authored-by: SuperSandro2000 <sandro.jaeckel@gmail.com>
2025-03-03 21:24:13 +01:00
Alexander Sieg 8af0a5abfd dependency-track: don't bundle frontend in jar
Bundling the frontend in the jar is deprecated by upstream and causes
the frontend from being serve after weeks of runtime.
2025-03-02 16:50:01 +01:00
Maximilian Bosch 2cf427c045
Merge: nextcloud31: init at 31.0.0 (#385060) 2025-03-01 13:47:45 +01:00
Maximilian Bosch be4fd8fdf2
nixos/nextcloud: update docs
* Update related packages for pkg option.
* Add release notes.
2025-03-01 11:58:54 +01:00
Sandro 32d2826f35
nixos/archtika: init at 1.0.1 (#365218) 2025-02-27 23:56:06 +01:00
Aaron Jheng a2f3625d99
poppler-utils: rename from poppler_utils 2025-02-27 16:56:01 +08:00
transcaffeine dfe1187fea
nextcloud31: init at 31.0.0
Release notes: https://github.com/nextcloud/server/releases/tag/v31.0.0
Upgrade notes: https://docs.nextcloud.com/server/31/admin_manual/release_notes/upgrade_to_31.html
2025-02-26 08:29:34 +01:00
Rémi NICOLE 585966ade5
netbox: add option to listen on Unix socket (#379919) 2025-02-25 14:06:06 +00:00
Anna Aurora 4d2bb49e75
nixos/meme-bingo-web: harden 2025-02-23 17:47:56 +01:00
Anna Aurora db6c59929b
nixos/meme-bingo-web: add address and openFirewall options 2025-02-23 17:47:29 +01:00
Maximilian Bosch f6634090cf
Merge: nixos/nextcloud: add hint about HSTS to https setting (#345609) 2025-02-22 21:16:18 +01:00
Felix Stupp 5edaed025b
nixos/nextcloud: add hint about HSTS to https setting
Enabling HSTS "just by default" when a module user requests HTTPS support to be enabled is prone to creating kind of DoS scenarios. This commit at least informs module users about this.
2025-02-22 13:01:10 +00:00
Silvan Mosberger 4f59aa5ed1
treewide: fix typos (#384093) 2025-02-22 12:54:11 +01:00
lassulus 4f2cee1fd6
nixos/hedgedoc: add fchown to SystemCallFilter to fix filesystem backend (#383787) 2025-02-22 10:01:59 +07:00
Peder Bergebakken Sundt d525eb5838 treewide: fix typos
done with `fd \\\.md$ . --type f -x typos --write-changes`
2025-02-22 02:02:07 +01:00
Robert Helgesson 44a5b1bdca nixos/grav: init module 2025-02-21 23:09:42 +01:00
lassulus 9f2a05224c nixos/hedgedoc: add fchown to SystemCallFilter to fix filesystem backend 2025-02-21 01:01:10 +01:00
Defelo 5309357c3e
zipline: 3.7.13 -> 4.0.0 2025-02-19 23:38:35 +01:00
Kerstin Humm 87124a75de
nixos/mobilizon: restart mobilizon-postgresql service on-failure
The motivation behind this is that sometimes postgresql signals
readiness to systemd, even though it doesn't accept yet connections.
2025-02-19 12:50:07 +01:00
isabel f0d623dea2
nixos/akkoma: remove IFD
Co-authored-by: Mikael Voss <mvs@nyantec.com>
2025-02-18 22:53:59 +00:00
Kerstin 4c18ccc9c4
nixos/mobilizon: update nginx config, mobilizon: fix media proxy (#374273) 2025-02-18 14:33:46 +01:00
Sandro 92dfde3dd8
nixos/mobilizon: minor format 2025-02-18 11:40:50 +01:00
Raymond Douglas e27365cf4b
netbox: add option to listen on Unix socket 2025-02-17 09:12:53 -08:00
Niklas Korz 16fda46db7 nixos/mobilizon: create launch wrapper through runCommand 2025-02-16 15:10:33 +01:00
Kerstin 20099a8e9e
nixos/weblate: improve smtp setup; make local postgresql optional; fix (#367522) 2025-02-15 17:49:21 +01:00
Marcel 5c10bbf1b2
nixos/weblate: improve smtp setup; make local postgresql optional; fix ssh 2025-02-15 14:52:22 +01:00
Maximilian Bosch 6c75214110
Merge: nixos/nextcloud: Update logreader warning description (#372187) 2025-02-14 09:45:49 +01:00
Maximilian Bosch 94307683c1
nixos/nextcloud: reword docs about logs a bit
Originally, I only wanted to remove
"The logreader application doesn't work, as it was the case before.".

But then, the rest sounded a little weird, so I reworded the paragraph a
bit more ;-)
2025-02-14 09:29:40 +01:00
Felix Bühler c501435cd7
nixos/rss-bridge: fix pool, add package, add webserver + test (#379189) 2025-02-13 19:40:23 +01:00
dish c58bf61fc2 nixos/zitadel: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 839a427725 nixos/youtrack: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish f552ef9849 nixos/stirling-pdf: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 28968693a9 nixos/slskd: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish d907fcd3f1 nixos/screego: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish f40ba2f28c nixos/plausible: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 600900c77c nixos/peering-manager: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 88b108f328 nixos/outline: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish aea7a63d8f nixos/nextjs-ollama-llm-ui: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 82d4e0086f nixos/nextcloud: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish fe6a8e7b09 nixos/mattermost: fix documentation link formatting 2025-02-12 21:03:21 +01:00