Commit Graph

1723 Commits

Author SHA1 Message Date
sinavir
1bd3ab39c4 nixos/castopod: use LoadCredentials 2024-04-01 19:16:30 +02:00
Alexander Tomokhov
8d3698e8f3 nixos/castopod: little documentation fix 2024-04-01 19:16:30 +02:00
Alexander Tomokhov
552043a34d nixos/castopod: fix startup, displaying images, uploads up to 500 MiB
- new maxUploadSize option
- new dataDir option (with ReadWritePaths systemd support)
- admin page reports correct free disk space (instead of /nix/store)
- fix example configuration in documentation
- now podcast creation and file upload are tested during NixOS test
- move castopod from audio to web-apps folder
- verbose logging from the browser test
2024-04-01 19:16:25 +02:00
Luka T. Korošec
126759eb58
outline: Add localRootDir to ReadWritePaths (#298892)
The service can't write to the localRootDir if its set outside of its
state directory, thus we have to manually mark it as writable.
2024-04-01 20:48:07 +04:00
Casey Link
17d73dc9a1
nixos/davis: init 2024-04-01 12:55:29 +02:00
David Knaack
2bde9aa8f8 nixos/kavita: document new tokenKeyFile requirements 2024-03-31 16:11:40 +02:00
Lin Yinfeng
484c1c1ff8
nixos/hledger-web: fix access control options 2024-03-31 12:50:08 +08:00
Maximilian Bosch
5142b7afa8
nixos/postgresql: turn settings into a submodule
The main idea behind that was to be able to do more sophisticated
merging for stuff that goes into `postgresql.conf`:
`shared_preload_libraries` is a comma-separated list in a `types.str`
and thus not mergeable. With this change, the option accepts both a
comma-separated string xor a list of strings.

This can be implemented rather quick using `coercedTo` +
freeform modules. The interface still behaves equally, but it allows to
merge declarations for this option together.

One side-effect was that I had to change the `attrsOf (oneOf ...)` part into
a submodule to allow declaring options for certain things. While at it,
I decided to move `log_line_prefix` and `port` into this structure as
well.
2024-03-30 14:23:05 +01:00
lassulus
387ef8710b
Merge pull request #277387 from traxys/jitsi_pam
nixos/jitsi-meet: allow to customize jitsi auth
2024-03-29 22:29:12 +01:00
Robert Hensing
b40caf8c8a
Merge pull request #273769 from Izorkin/update-peertube
peertube: 5.2.1 -> 6.0.3
2024-03-28 19:40:42 +01:00
Janne Heß
fcc95ff817 treewide: Fix all Nix ASTs in all markdown files
This allows for correct highlighting and maybe future automatic
formatting. The AST was verified to work with nixfmt only.
2024-03-28 09:28:12 +01:00
Janne Heß
bc77c7a973 treewide: Mark Nix blocks in markdown as Nix
This should help us with highlighting and future formatting.
2024-03-28 09:28:12 +01:00
Bjørn Forsman
db8f2488a8
nixos/pretix: say what it is in the "enable" docstring (#299540) 2024-03-27 18:12:38 +01:00
Sandro
f87c956ea7
Merge pull request #281236 from melvyn2/update-kavita 2024-03-27 11:17:39 +01:00
Yongun Seong
477dce3b9a
nixos/kavita: accept freeform settings, ensure locales in tests 2024-03-26 21:15:29 -07:00
Melvyn
4da76cc6f4
nixos/slskd: refactor and add config file options 2024-03-24 18:26:56 -07:00
Sandro
9ae4475cff
Merge pull request #291214 from RatCornu/suwayomi-server
suwayomi-server: 0.7.0 -> 1.0.0
2024-03-23 17:56:19 +01:00
Maximilian Bosch
e7533df80f
nixos/mastodon: stop mastodon-init-db.service if check for seeded DB fails
The postgresql runs on a different node than my mastodon itself. Sometimes when
rebooting the entire host it can happen that mastodon gets started
before the DB[1] is up. In that case `mastodon-init-db.service` ran
through with the following log output:

    2024-03-07 15:30:56.856
    Migrating database (this might be a noop)
    2024-03-07 15:30:56.856
    /nix/store/xzm7www0qb7jg5zrgg7knynckx5yhki9-unit-script-mastodon-init-db-start/bin/mastodon-init-db-start: line 9: [: -eq: unary operator expected

It seems wrong to me to have this unit pass if the DB isn't even up,
especially with such an error.

This patch now checks if the exit code of the psql check was non-zero
and fails the entire unit. A retry can be implemented e.g. with
Restart/RestartSec then (which is more elegant than adding a while/sleep
loop anyways) like this:

    systemd.services.mastodon-init-db = {
      serviceConfig = {
        Restart = "on-failure";
        RestartSec = "5s";
        RestartMode = "direct";
        RemainAfterExit = true;
      };
      unitConfig = {
        StartLimitBurst = 5;
        StartLimitIntervalSec = "60";
      };
    };

Also using `-t --csv` now to not render the column name and to not
render a table so we don't need to rely on the format of psql (and parse
it with `sed(1)`).

[1] I added a script that blocks until postgres is there in the meantime
    though.
2024-03-22 17:51:20 +01:00
e1mo
bc25c4bd7d
nixos/pretix: raise TimeoutStartSec
On some slower systems or ones with a slower database (connection) the
initial migrations can exceed the default 90s timeout.
2024-03-21 21:49:40 +01:00
e1mo
6d5a6cab71
nixos/pretix: Fix pdf generation
Previously, pdftk (part of the ticket, badge, ... generation pipeline)
would fail with:

```
Error occurred during initialization of VM
Failed to mark memory page as executable - check if grsecurity/PaX is enabled
```
Thise caused pdf generation to fail.

Since pdftk is a java application and, according to systemd.exec(5),

 > Note that [MemoryDenyWriteExecute=] is incompatible with programs and
 > libraries that generate program code dynamically at runtime, including
 > JIT execution engines, executable stacks, and code "trampoline" featu
 > re of various C compilers.

Disabling `MemoryDenyWriteExecute=` fixes it.
2024-03-21 21:49:39 +01:00
Sandro
4a9a5fab1c
Merge pull request #283501 from SuperSandro2000/hedgedoc-fix-tools-exec 2024-03-19 13:37:46 +01:00
Patka
93aba53a08
engelsystem: cleanup
The custom php with extensions is not needed. The default already has all the needed extensions enabled by default.
2024-03-18 17:08:01 +01:00
Patka
c4e1ffb96b
engelsystem: 3.4.1 -> 3.5.0
Release notes: https://github.com/engelsystem/engelsystem/releases/tag/v3.5.0
2024-03-17 12:24:29 +01:00
Martin Weinelt
2b003c0269
nixos/pretix: make state directory world-readable
Pretix creates static files in its state directory, that nginx needs to
serve, so locking down the permissions that hard is not going to work.
2024-03-16 23:44:37 +01:00
Guillaume Girol
119099506c
Merge pull request #292477 from nu-nu-ko/nixos-komga-hardening
nixos/komga: add service hardening and misc format changes.
2024-03-16 17:34:45 +01:00
Manuel Sanchez Pinar
a1301766eb
nixos/silverbullet: init module 2024-03-16 17:11:59 +01:00
Martin Weinelt
b05a529fd6
nixos/pretix: init 2024-03-16 14:50:56 +01:00
Ilan Joselevich
09078fd022
Merge pull request #295932 from Kranzes/nextcloud
nixos/nextcloud: remove opcache.enable_cli=1
2024-03-14 21:36:09 +02:00
Ilan Joselevich
9353fb2309
nixos/nextcloud: remove opcache.enable_cli=1
Upstream no longer recommends enabling the opcache cli.
See the following:
 - https://github.com/nextcloud/documentation/issues/1439
 - https://github.com/nextcloud/server/pull/15468
2024-03-14 18:36:11 +02:00
Blake Smith
b0529146b9 nixos/gotosocial: add blakesmith as a maintainer 2024-03-12 21:13:22 -05:00
Sandro Jäckel
8f86f82b1a
nixos/pretalx: fix /media/ nginx location block
Fix the alias for displaying media.
Also the more_set_headers for Content-Disposition was invalid and broke
browsers. While I was at it, I also quoted the other more_set_headers
directives.
2024-03-12 10:07:55 +01:00
Nick Cao
8e19126885
Merge pull request #289009 from 999eagle/feat/miniflux-no-db
nixos/miniflux: add option to disable configuring a local postgresql db
2024-03-04 09:47:14 -05:00
Sophie Tauchert
cb5f2a8e87
nixos/tests/miniflux: add test for external database 2024-03-04 09:07:21 +01:00
Sophie Tauchert
1f8385d6d1
nixos/miniflux: add option to disable configuring a local postgresql db 2024-03-04 09:07:20 +01:00
Martin Weinelt
f09b7dc6a5
Merge pull request #289961 from leona-ya/vikunja-0.23.0
vikunja: 0.22.1 -> 0.23.0
2024-03-03 19:15:35 +01:00
Leona Maroni
46ad1987b9
Merge pull request #278698 from bachp/photoprism-update
photoprism: 231011-63f708417 -> 231128-f48ff16ef
2024-03-02 23:03:49 +01:00
Mynacol
84f4100520 rss-bridge: Use new tmpfiles syntax 2024-03-02 22:45:52 +01:00
Mynacol
f7a6e75b42 rss-bridge: Move whitelist option to general config
Prefer setting the whitelisted bridges through the generic configuration
method. Removes the need for a whitelist.txt file.

Preserves backwards compatibility by taking the same values and
essentially just renaming the config option.
2024-03-02 22:42:21 +01:00
Mynacol
a949f4b6e2 rss-bridge: Integrate filecache path with config
Preserve the default value for the filecache path, but also allow
modifying it, adapting the tmpfiles rule to create the directory with
the right permissions.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-03-02 22:40:12 +01:00
Mynacol
f2201789fe rss-bridge: add config option
This allows managing rss-bridge's config with nix.
It leverages the environment variable way of setting the config options,
introduced quite [some time ago](https://github.com/RSS-Bridge/rss-bridge/pull/2100)
It is the only existing way to set config options independent of the
document root, and upstream is [hesitant](https://github.com/RSS-Bridge/rss-bridge/pull/3842)
to change the config loading methods.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-03-02 22:26:11 +01:00
Sandro Jäckel
907b5ebcee
nixos/nextcloud: build with-apps local 2024-03-02 18:01:38 +01:00
nuko
636584b3ff
nixos/komga: use lib.getExe 2024-03-02 13:56:20 +13:00
nuko
b18bcf3a04
nixos/komga: add systemd service hardening 2024-03-02 13:55:25 +13:00
nuko
502f34f3e0
nixos/komga: rfcfmt, rm mdDoc & toplvl with lib 2024-03-01 15:13:06 +13:00
Atemu
f53c775852
Merge pull request #278454 from litchipi/mealie
mealie: init at 1.2.0
2024-02-26 21:01:49 +00:00
RatCornu
2f460b3f53
nixos/suwayomi-server: add option settings.server.extensionRepos
This option is now a key feature of Suwayomi-Server, so it is
interesting to have it directly available in a quick search.
2024-02-24 19:43:03 +01:00
Litchi Pi
4ebf2b54b0 nixos/mealie: init module
Signed-off-by: Litchi Pi <litchi.pi@proton.me>
2024-02-23 07:15:24 +01:00
Leona Maroni
47b7eb8fd9
nixos/vikunja: remove setupNginx option
The required nginx configuration is now really simple, and e.g. SSL/ACME
already required the user to interact with `services.nginx.virtualHosts`.
Therefore, and to reduce complexity, we now leave the web server
configuration to the user.
2024-02-20 22:43:53 +01:00
Leona Maroni
8817f080cc
nixos/vikunja: adapt for vikunja 0.23.0
This version removes dedicated api and frontend packages.
2024-02-20 22:43:53 +01:00
Izorkin
c1a97e1f49
nixos/mastodon: add option redis.passwordFile 2024-02-17 15:52:58 +03:00
Izorkin
cf62e3257f
nixos/mastodon: redis now uses unix socket by default 2024-02-16 16:39:31 +03:00
Izorkin
937220442c
nixos/peertube: update nginx configuration 2024-02-16 09:31:27 +03:00
Izorkin
6e61227199
peertube: split peertube-cli utility 2024-02-16 09:31:26 +03:00
Izorkin
00e4bf4d02
peertube: 5.2.1 -> 6.0.3 2024-02-16 09:31:26 +03:00
Felix Buehler
9db5906a6f nixos/photoprism: improve manage script 2024-02-13 18:51:30 +01:00
Sandro
756e574ebd
Merge pull request #282971 from wegank/restya-board-drop
restya-board: drop
2024-02-10 17:28:05 +01:00
Maximilian Bosch
66a0b77a78
Merge pull request #286394 from SuperSandro2000/nextcloud-timer
nixos/nextcloud: don't execute cron when in maintenace/upgrade, don't kill cgroup
2024-02-10 12:48:05 +01:00
Silvan Mosberger
11cd405226
Merge pull request #280322 from h7x4/add-hocon-format-generator
pkgs.formats: Add HOCON format generator
2024-02-10 03:07:51 +01:00
h7x4
39a779e269
treewide: use formats.hocon 2024-02-09 16:40:22 +01:00
ajs124
106626b8d7 nixos/tt-rss: add phpPackage option
right now, we have php81 and php (which points to php82), which means that:
- php-fpm uses php81
- the update preStart uses php81
- the actual updater uses php82
2024-02-07 17:41:27 +01:00
ajs124
33ca948d6a
Merge pull request #259604 from sefidel/tt-rss-force-update-schema
nixos/tt-rss: supply --force-yes to update-schema
2024-02-07 17:39:03 +01:00
Weijia Wang
29b534a3d4 restya-board: drop 2024-02-07 01:33:05 +01:00
Sandro Jäckel
e91a7b7a4e
hedgedoc: move files to share/hedeodc in the package 2024-02-06 19:26:21 +01:00
Sandro Jäckel
26316368cb
hedgedoc: fix executing any of the management clis, remove heroku bin
as we don't need that
2024-02-06 19:13:51 +01:00
Pablo Andres Dealbera
14a1f86791 nixos/photoprism: fix typo 2024-02-05 19:34:43 -03:00
Leona Maroni
2b7e1ddb4a
nixos/youtrack: fix warnings (#285775)
* nixos/youtrack: fix extraParams warning

* nixos/youtrack: use new option for port in nginx config
2024-02-05 17:17:45 +01:00
Sandro Jäckel
c64c45da9c
nixos/nextcloud: don't execute cron when in maintenace/upgrade, don't kill cgroup
Those are upstream recommendations taken from
22d2472b8f/admin_manual/configuration_server/background_jobs_configuration.rst (systemd)
2024-02-05 01:29:13 +01:00
Sandro Jäckel
42daa00928
nixos/nextcloud: little formatting 2024-02-05 01:29:13 +01:00
Leona Maroni
0f2df9ff19 nixos/youtrack: rebuild module for 2023.x support 2024-02-01 13:36:13 +01:00
Felix Bühler
6c22593ad4
Merge pull request #284799 from Pablo1107/photoprism-module/fix-manage-script
nixos/photoprism: use nsenter to call photoprism bin with correct UID and PID
2024-01-31 20:52:11 +01:00
Martin Weinelt
8f03632997
nixos/pretalx: init 2024-01-30 17:41:34 +01:00
Pablo Andres Dealbera
bb40443e77 nixos/photoprism: use nsenter to call photoprism bin with correct UID and PID 2024-01-29 13:26:35 -03:00
K900
499b9a5de0
Merge pull request #284562 from K900/lemmy-nginx-fix
lemmy: fix nginx config generation
2024-01-28 20:48:51 +03:00
Kerstin
45b1d68c35
Merge pull request #283981 from f2k1de/mastodon-too-many-open-files-fix
mastodon: set LimitNOFILE
2024-01-28 18:47:53 +01:00
K900
c34a1d5135 lemmy: fix nginx config generation 2024-01-28 19:15:02 +03:00
Maximilian Bosch
abd098fce8
Merge pull request #283972 from onny/nextcloud-settings
nixos/nextcloud: Rename extraOptions to settings
2024-01-27 11:01:23 +01:00
Jonas Heinrich
e1c0d281b2 nixos/nextcloud: Rename extraOptions to settings 2024-01-26 14:22:49 +01:00
Isa
24930dadca mastodon: set LimitNOFILE 2024-01-26 12:30:57 +01:00
Lassulus
da25b2382d
Merge pull request #280373 from h7x4/treewide-use-new-tmpfiles-api
treewide: use new tmpfiles API
2024-01-26 10:47:18 +01:00
h7x4
f5d513c573
treewide: use new tmpfiles api 2024-01-24 05:13:17 +01:00
Minijackson
5d2370f800
netbox_3_5: remove 2024-01-22 16:31:45 +01:00
Minijackson
163fed297e
netbox: 3.6.9 -> 3.7.1
Or another way to see it:

netbox_3_7: init at 3.7.1

Make NetBox 3.7 the default version if stateVersion >= 24.05,
switch upgrade test to test upgrade from 3.6 to 3.7,
remove clearcache command for >=3.7.0,
make reindex command mandatory
2024-01-22 16:31:45 +01:00
Maximilian Bosch
93d692f43b
Merge pull request #280600 from Ma27/nextcloud-state-tmpfiles
nixos/nextcloud: set up base directories & override.config.php with tmpfiles
2024-01-20 17:49:46 +01:00
h7x4
99e3c0032a
Merge pull request #281871 from RatCornu/tachidesk-server
nixos/suwayomi-server: init at 0.7.0
2024-01-19 20:19:06 +01:00
Martin Weinelt
c2853e2588
Merge pull request #258680 from lf-/jade/remove-multiuser-netonline-dep
nixos/systemd: don't require network-online.target for multi-user.target
2024-01-19 12:49:23 +01:00
Jade Lovelace
fe474ed61a nixos: fix remaining services for network-online dep fix 2024-01-19 00:11:34 -08:00
Jade Lovelace
6c5ab28fce nixos: fix a bunch of services missing dep on network-online.target
This was done by generating a truly hilarious configuration:

rg 'services\.[^.]+\.enable\t' opts-tags | cut -f1 > allonconfig.nix

The following were not tested due to other evaluation errors. They
should probably be manually audited.
services.amule
services.castopod
services.ceph
services.chatgpt-retrieval-plugin
services.clamsmtp
services.clight
services.dante
services.dex
services.discourse
services.dwm-status
services.engelsystem
services.foundationdb
services.frigate
services.frp
services.grocy
services.guacamole-client
services.hedgedoc
services.home-assistant
services.honk
services.imaginary
services.jitsi-meet
services.kerberos_server
services.limesurvey
services.mastodon
services.mediawiki
services.mobilizon
services.moodle
services.mosquitto
services.nextcloud
services.nullmailer
services.patroni
services.pfix-srsd
services.pgpkeyserver-lite
services.postfixadmin
services.roundcube
services.schleuder
services.self-deploy
services.slskd
services.spacecookie
services.statsd
services.step-ca
services.sympa
services.tsmBackup
services.vdirsyncer
services.vikunja
services.yandex-disk
services.zabbixWeb
2024-01-19 00:11:34 -08:00
h7x4
5350f74b81
Merge pull request #277739 from KiaraGrouwstra/fix-sample-value-services-wordpress-sites-name-languages
fix sample value for option services.wordpress.sites.<name>.languages
2024-01-19 03:51:40 +01:00
RatCornu
4133bb1bb0
nixos/suwayomi-server: init at 0.7.0 2024-01-19 02:31:23 +01:00
Benjamin Bädorf
7c3ecbdce9 nixos/invoiceplane: add nginx as a webserver option for invoiceplane
Getting the vhost to play nice with phpfpm was done by following this
community post: https://community.invoiceplane.com/t/topic/2654
2024-01-17 05:09:34 +01:00
Chris M
6b55672bb5
outline: 0.73.1 -> 0.74.0 (#275007) 2024-01-15 02:31:14 +04:00
Nick Cao
b9dc8014ef
Merge pull request #278931 from SuperSandro2000/patch-1
nixos/miniflux: allow members of miniflux group to read runtime direc…
2024-01-14 15:24:14 -05:00
Nick Cao
205ac6d5d8
Merge pull request #272918 from SuperSandro2000/miniflux
nixos/miniflux: allow ints in config
2024-01-14 14:22:41 -05:00
Maximilian Bosch
8ccc8e9df9
Merge pull request #279890 from onny/nextcloud-cleanup5
nixos/nextcloud: Remove old migration warnings
2024-01-14 20:22:09 +01:00
Gutyina Gergő
7247d16af6
nixos/c2fmzq-server: allow setting bool settings to false 2024-01-14 00:19:19 +01:00
Peder Bergebakken Sundt
59cefcbc62
Merge pull request #277783 from gepbird/c2fmzq-server-multiple-freeform-settings
nixos/c2fmzq-server: allow multiple freeform settings
2024-01-13 22:01:23 +01:00
Maximilian Bosch
90787dbe89
nixos/nextcloud: set up base directories & override.config.php with tmpfiles
Closes #169733

The issue is that Nextcloud fails to start up after a GC because the
symlink from `override.config.php` is stale.

I'm relatively certain that this is not a bug in the Nix GC - that
would've popped up somewhere else already in the past years - and one of
the reporters seems to confirm that: when they restarted
`nextcloud-setup.service` after the issue appeared, an
`override.config.php` pointing to a different hash was there.

This hints that on a deploy `nextcloud-setup` wasn't restarted properly
and thus replacing the symlink update was missed. This is relatively
hard to trigger due to the nature of the bug unfortunately (you usually
keep system generations for a few weeks and you'll need to change the
configuration - or stdenv - to get a different `override.config.php`),
so getting pointers from folks who are affected is rather complicated.

So I decided to work around this by using systemd-tmpfiles which a lot
of other modules already utilize for this use-case. Now,
`override.config.php` and the directory structure aren't created by
`nextcloud-setup`, but by `systemd-tmpfiles`.

With that, the structure is guaranteed to exist

* on boot, since tmpfiles are always created/applied then
* on config activation, since this is done before services are
  (re)started which covers the case for new installations and existing
  ones.

Also, the recursive `chgrp` was used as transition tool when we switched
from `nginx` as owning group to a dedicated `nextcloud` group[1][2], but
this was several releases ago, so I don't consider this relevant
anymore.

[1] fd9eb16b24
[2] ca916e8cb3
2024-01-12 22:11:36 +01:00
Jonas Heinrich
6707b97f00 nixos/nextcloud: Remove old migration warnings 2024-01-09 20:59:03 +01:00
Jonas Heinrich
d71dc05e82 nixos/dokuwiki: Remove old migration warnings 2024-01-09 20:51:12 +01:00
Maximilian Bosch
e55b4c1ec7
Merge pull request #278493 from marrobHD/patch-1
nixos/nextcloud: fix dbport in config.php
2024-01-06 16:26:15 +01:00
Sandro
9272b8ef79
nixos/miniflux: allow members of miniflux group to read runtime directory
Otherwise a proxy server that has the miniflux group cannot read files in the runtime directory like a socket miniflux can listen on.
2024-01-05 15:01:04 +01:00
Pascal Bach
2c86e5321c nixos/photoprism: allow writing to originalsPath, importPath and
storagePath
2024-01-04 14:28:47 +01:00
May
5be349d0be
nixos/nextcloud: remove dbport
To specify a port for the database host, `host:port` format has to be used [1].

[1]: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#dbhost
2024-01-04 12:34:24 +01:00
Nick Cao
fa5ad5c4d0
Merge pull request #278501 from hughobrien/invidious-fix
nixos/invidious: Additional fix for user message on 24.05 changes
2024-01-03 11:03:06 -05:00
Hugh O'Brien
e51c00fb23
nixos/invidious: Additional fix for user message on 24.05 changes 2024-01-03 10:17:06 -05:00
Jonas Heinrich
818fdce3d0 nixos/nextcloud: Fix corrent option name 2024-01-03 14:08:21 +01:00
Patrick Steinhardt
f026ea0db0 nixos/nextcloud: disable output buffering
The Nextcloud admin guide says that output buffering must be turned off
or otherwise PHP will return memory-related errors [1]. As the default
value for this PHP setting is 4096 and thus enabled the Nextcloud setup
is thus misconfigured by default. This misconfiguration will be shown in
the "Security & setup warnings" dialog for the administrator.

Fix this misconfiguration by setting "output_buffering=0" by default.

[1]: https://docs.nextcloud.com/server/stable/admin_manual/configuration_files/big_file_upload_configuration.html#configuring-php
2024-01-02 08:45:42 +01:00
Gutyina Gergő
3306755683
nixos/c2fmzq-server: allow multiple freeform settings 2024-01-01 22:50:16 +01:00
Kiara Grouwstra
bdbd8f703b
fix sample value for option services.wordpress.sites.<name>.languages 2023-12-30 16:26:01 +01:00
Maximilian Bosch
d25fdec5b3
Merge pull request #212430 from onny/nextcloud-cleanup
nixos/nextcloud: Move options into now freeForm extraOptions
2023-12-29 23:44:24 +01:00
Maximilian Bosch
bae5e65162
nixos/nextcloud: fix nginx routing to store and nix apps
Closes #277206

The bug mentioned above was a symptom of the issue fixed here: when
opening the `forms` app which is installed via `extraApps` (or the
app store) the site wouldn't work because `.mjs` files had the wrong
Content-Type.

The actual problem got fixed already[1], however this config was not
used for stuff from `/nix-apps` & `/store-apps` which had their own
location section with only a `root ;` statement.

In fact, this setup isn't strictly supported by Nextcloud upstream[2],
so to fix this for good, I decided to follow the upstream suggestion for
app directories outside the server root, i.e. linking them back into the
store path.

This means that the module generates a new derivation now with

* `services.nextcloud.package` linked into it via `lndir`.
* under `nix-apps` is a symlink to the link farm containing all apps
  from `services.nextcloud.extraApps`.
* under `store-apps` is a symlink to `/var/lib/nextcloud/store-apps`.
  Since this is only used in the NixOS module that also configures this
  location for imperatively installed apps, this seems an OK thing to
  do.

Successfully tested the change on a productive Nextcloud 28.0.1 with
several apps installed via `extraApps` (`forms`, `cospend`, `maps`,
`user_saml` and a few more).

[1] 292c74c7a9
[2] https://docs.nextcloud.com/server/28/admin_manual/apps_management.html#using-custom-app-directories
2023-12-29 18:59:18 +01:00
Jonas Heinrich
dd8c96379f nixos/nextcloud: Move options into now freeForm extraOptions 2023-12-29 01:04:46 +01:00
traxys
f553bdbb07 nixos/jitsi-meet: allow to customize jitsi auth
This allows to set different prosody auth providers for jitsi, like PAM
authentication
2023-12-28 20:22:35 +01:00
Nick Cao
6248428d28
Merge pull request #277017 from hughobrien/patch-1
nixos/invidious: Fix  user message on 24.05 changes
2023-12-27 10:36:43 -05:00
Hugh O'Brien
eff6b94cdd
nixos/invidious: Fix user message on 24.05 changes 2023-12-26 20:44:04 -05:00
Elis Hirwing
0c3619835b
nixos/freshrss: Stop running the updater service on system activation 2023-12-25 09:57:47 +01:00
Pol Dellaiera
783163f959
Merge pull request #275429 from drupol/code-server/restore
code-server: restore and bump (4.16.1 -> 4.19.1)
2023-12-21 21:03:41 +01:00
Izorkin
8a0a8c7a04
nixos/mastodon: replace ffmpeg to ffmpeg-headless 2023-12-20 18:01:55 +03:00
Kerstin
d2d0044221
Merge pull request #274556 from networkException/mastodon-init-db-psql-escaping
nixos/mastodon: properly escape arguments to psql in init-db script
2023-12-19 22:28:08 +01:00
networkException
4dd61b6e68
nixos/mastodon: properly escape arguments to psql in init-db script 2023-12-19 21:02:13 +01:00
Pol Dellaiera
1a57f50d95
Revert "code-server: drop"
This reverts commit 72911a99d3.
2023-12-19 15:40:57 +01:00
Ilan Joselevich
8bbbb228b4
nixos/nextcloud: serve flac and ogg files
Since v28 Nextcloud Talk supports serving files with with .ogg/.flac extension
2023-12-19 13:07:19 +02:00
Maximilian Bosch
1a9fe45b53
Merge pull request #275053 from danth/nextcloud-mjs
nixos/nextcloud: set correct MIME type for .mjs files
2023-12-18 11:07:22 +01:00
Daniel Thwaites
292c74c7a9
nixos/nextcloud: set correct MIME type for .mjs files 2023-12-17 19:17:10 +00:00
Sophie Tauchert
24e561fabc
nixos/invidious: change default database user to invidious
This makes sure we don't need any workarounds for running Invidious with a local
PostgreSQL database.
Changing the default user should be fine as the new init script for PostgreSQL automatically
creates the new user and changes the existing database's owner to the new user. The old user
will still linger and must be removed manually.
See also: https://github.com/NixOS/nixpkgs/pull/266270
2023-12-17 19:48:15 +01:00
Sophie Tauchert
ac5c1886fd
nixos/invidious: add option to configure http3-ytproxy for invidious 2023-12-17 19:48:03 +01:00
Sophie Tauchert
d41706bae2
nixos/invidious: bind to 127.0.0.1 instead of 0.0.0.0 if nginx is used 2023-12-17 19:48:03 +01:00
Sophie Tauchert
45bd4b1159
nixos/invidious: add option to run more invidious instances 2023-12-17 19:48:02 +01:00
Sophie Tauchert
4a7faeaff3
nixos/invidious: remove obsolete database maintenance service
See the note on https://docs.invidious.io/db-maintenance/. Manual maintenance
is no longer required.
2023-12-17 19:48:02 +01:00
Peder Bergebakken Sundt
77e3850db0 nixos/node-red: fix cfg.package default value documentation 2023-12-16 21:03:18 +01:00
Maximilian Bosch
28089f8874
Merge pull request #273858 from dotlambda/nextcloud28-init
nextcloud28: init at 28.0.0, nextcloud27: 27.1.4 -> 27.1.5, nextcloud26: 26.0.9 -> 26.0.10
2023-12-15 08:14:15 +01:00
emilylange
22bbd1834e
nixos/node-red: fix cfg.package default value
This fixes the following eval error:

```
error: nodePackages.node-red cannot be found in pkgs
```

when having `services.node-red.enable = true;` without specifying
`services.node-red.package`, just like the nixos VM test.

Follow-up of f509382c11, which attempted
to fix this as well.

Breakage introduced in 0a37316d6c.
2023-12-14 23:19:25 +01:00
Maximilian Bosch
bec9edfd20
nixos/doc: mention nc28 2023-12-14 17:44:41 +01:00
Maximilian Bosch
f718012d92
nixos/nextcloud: updates for nc28
* Always use PHP 8.2: at the time of writing, Nextcloud also suggests to
  use 8.2 rather than 8.3 in the manual for v28.

  One contributing factor is probably that all plugins need new releases
  to declare PHP 8.3 support.

* Fix upgradeWarning for installing v27 now that v28 is out.

* Drop upgrade warning for v24. This one is EOL for quite a while
  already, so right now everybody should've switched (or carefully
  studied the release notes in case they were upgrading from <23.05) and
  we can clean up the module a little bit.

  v25 was dropped not so long ago, so if it's still referenced (because
  somebody didn't declare `services.nextcloud.package` and has
  `system.stateVersion = "22.11";`) it's appropriate to still give a
  specialized error.
2023-12-14 17:32:55 +01:00
Robert Schütz
f6ea3f91b5 nextcloud28: init at 28.0.0 2023-12-13 15:57:33 -08:00
Maximilian Bosch
9f9de7c5e3
Merge pull request #272919 from SuperSandro2000/nextcloud
nixos/nextcloud: allow phpOptions to contain ints
2023-12-10 12:49:52 +01:00
Maximilian Bosch
2ee3ddef8c
Merge pull request #266935 from s-sinnlos/nextcloud26-ocm-dir-fix
nixos/nextcloud: missing ocm-dir applys also from 26.0.8 onward
2023-12-09 14:00:59 +01:00
Lassulus
b8ca5f4f46
Merge pull request #137003 from yayayayaka/add-pkg-jigasi
jigasi: init at 1.1-311-g3de47d0 + module
2023-12-09 02:28:50 +01:00
Robert Hensing
47aff944e4
Merge pull request #257503 from SuperSandro2000/postgres-extraPlugins
nixos/postgresql: take extraPlugins packageset from package option
2023-12-08 21:51:05 +01:00
Sandro Jäckel
eaa581b5c3
nixos/nextcloud: allow phpOptions to contain ints 2023-12-08 15:03:09 +01:00
Sandro Jäckel
d7ea9fe393
nixos/miniflux: allow ints in config 2023-12-08 15:02:13 +01:00
Sandro Jäckel
3bb72ed9fd
treewide: fix services.postgresql.extraPlugins usage 2023-12-08 14:58:18 +01:00
Weijia Wang
9f1f87b612
Revert "wordpress: fixed installing of languages" 2023-12-07 18:27:40 +01:00
Yaya
767e3dab38 nixos/jitsi-meet: Integrate jigasi
This commit introduces the possibility to optionally enable the Jitsi
Gateway to SIP (jigasi) module. SIP credentials can be defined in
`services.jigasi.environmentFile`.
2023-12-07 13:36:53 +00:00
Kim Lindberger
9ec830423e
Merge pull request #267906 from talyz/keycloak-hostname-url
nixos/keycloak: Allow setting `hostname-url`
2023-12-07 12:07:49 +01:00
happysalada
21d23dddd8 nixos/windmill: init module 2023-12-05 22:54:18 +00:00
h7x4
e6a98c8254
nixos/mattermost: fix mkPackageOption default name 2023-12-04 23:12:25 +01:00
Kerstin
ba513b2979
Merge pull request #270522 from schmittlauch/mastodon-streaming-processes-number-docs
Proposal: nixos/mastodon; Releasenotes and (possibly) better error messages for `streamingProcesses`
2023-12-04 16:04:27 +01:00
John Garcia
f509382c11 node-red_service: correct package to nodePackages.node-red 2023-12-04 11:53:23 +00:00
Trolli Schmittlauch
cbf69c83d3 nixos/mastodon: clarify the need to set streamingProcesses
Explicitly declaring that option is now necessary, but wasn't in the module shipped with 23.05.
2023-12-04 02:18:39 +01:00
Emily Trau
54ba768be8
Merge pull request #271164 from helsinki-systems/feat/netbox-gunicorn
netbox: Inherit gunicorn from the package
2023-12-02 13:37:33 +11:00
h7x4
79d3d59f58
treewide: replace mkPackageOptionMD with mkPackageOption 2023-11-30 19:03:14 +01:00
Janne Heß
018175ecab
netbox: Inherit gunicorn from the package
I was using a 23.11 package on a NixOS 23.05 system and this caused the
python that was used in gunicorn to differ from the python the postgres
lib was linked against.
2023-11-30 11:51:37 +01:00
emilylange
9a821ebe0f nixos/jitsi-meet: fix cfg.caddy.enable
This fixes the following error:

```
error: failed processing files:
        FailedJobs(
        "static/404.html": Permission denied (os error 13) at path "/build/static/.tmpRMzDXu"
)
```
2023-11-30 06:13:38 +00:00
Weijia Wang
feeae486de
Merge pull request #261702 from h7x4/replace-mkoption-with-mkpackageoption
treewide: use `mkPackageOption`
2023-11-30 02:49:30 +01:00
TomaSajt
eac5dfd20f
lanraragi: 0.8.90 -> 0.9.0 2023-11-29 08:52:48 +01:00
Lin Jian
fbbbcfb879
Merge pull request #264661 from schoettl/dolibarr-with-package
nixos/dolibarr: add package option
2023-11-26 20:41:10 -06:00
h7x4
0a37316d6c
treewide: use mkPackageOption
This commit replaces a lot of usages of `mkOption` with the package
type, to be `mkPackageOption`, in order to reduce the amount of code.
2023-11-27 01:28:36 +01:00
Sandro Jäckel
960527707b nixos/mediawiki: don't clear default installed extensions 2023-11-26 20:29:49 +01:00
Sandro Jäckel
8ae9c8640c nixos/mediawiki: don't assume language of main page
The mainpage might be named Hauptseite and mediawiki redirects from
/wiki/ on its own to there
2023-11-26 19:59:32 +01:00
Sandro Jäckel
f68be841c9 nixos/mediawiki: use fastcgi.conf file which contains extra parameter 2023-11-26 19:59:32 +01:00
Jörg Thalheim
f468e0d111 nixos/mediawiki: quote shell flags passed to installer 2023-11-26 17:25:14 +01:00
Jörg Thalheim
0bd8759d1c nixos/mediawiki: drop sqlite variant
Probably no one ever tested this, mediawiki tries to create the database inside the read-only
package. There might be a proper fix but for now it's better to not advertise unsupported options.
2023-11-26 17:25:14 +01:00
Sandro
e580ab8c3e nixos/mediawiki: update url option defaultText 2023-11-26 17:24:15 +01:00
Lassulus
b821ac8070
Merge pull request #267278 from Stunkymonkey/nixos-packages-docu-fix
nixos/nextcloud: fix docu of packages
2023-11-25 18:48:28 +01:00
Jonas Heinrich
8f3f6a2a77 nixos/invoiceplane: Add settings option 2023-11-24 10:25:46 +00:00
Andrew Morgan
54b7a39646 peertube: Clarify option descriptions of listenHttp, listenWeb, enableWebHttps 2023-11-22 21:15:36 +01:00
Ryan Lahfa
d3530f494c
Merge pull request #264358 from RaitoBezarius/drop-nodejs 2023-11-17 23:26:13 +01:00
Felix Buehler
7f9abdcfcb nixos/nextcloud: fix docu of packages 2023-11-17 23:16:23 +01:00
Julien Malka
cac11727b3
Merge pull request #227588 from camillemndn/jitsi-meet
nixos/jitsi-meet: updated prosody, support secure domain setup and Excalidraw whiteboards
2023-11-17 22:08:05 +01:00
Raito Bezarius
72911a99d3 code-server: drop
Depends on Node.js 16 and cannot be trivially upgraded to Node.js 18.
2023-11-17 20:26:55 +01:00
Ryan Lahfa
ccfe07c316
Merge pull request #266270 from Ma27/postgresql-ownership-15 2023-11-17 18:02:17 +01:00
Raito Bezarius
10baca4935 nixos/invidious: do not use ensureDBOwnership
Invidious uses a strange setup where the database name is different from the system username
for non-explicit reasons.

Because of that, it makes it hard to migrate it to use `ensureDBOwnership`, we leave it to Invidious' maintainers
to pick up the pieces.
2023-11-17 15:53:08 +01:00
Raito Bezarius
f653734c4d nixos/mobilizon: do not use ensureDBOwnership
Mobilizon can have a custom database username and it is not trivial to sort out how to remove this.

In the meantime, for the upcoming 23.11 release, I apply the classical workaround
and defer to Mobilizon's maintainers.
2023-11-17 15:52:51 +01:00
talyz
4b0b3413b4
nixos/keycloak: Allow setting hostname-url 2023-11-16 16:12:07 +01:00
Anthony Roussel
8c7c1e7a30
nixos/plantuml-server: remove deprecated allowPlantumlInclude option
See https://github.com/plantuml/plantuml-server/pull/301
2023-11-15 15:14:28 +01:00
Anthony Roussel
deae39af43
nixos/plantuml-server: use jetty_11
PlantUML Server does not support Jetty versions higher than 12.x.

Jetty 12.x has introduced major breaking changes, see
* https://github.com/jetty/jetty.project/releases/tag/jetty-12.0.0
* https://eclipse.dev/jetty/documentation/jetty-12/programming-guide/index.html#pg-migration-11-to-12
2023-11-15 15:14:28 +01:00
Anthony Roussel
2c94d267c2
nixos/plantuml-server: use mkPackageOptionMD 2023-11-15 15:12:58 +01:00
Anthony Roussel
3b17b80525
nixos/plantuml-server: add anthonyroussel to maintainers 2023-11-15 15:12:58 +01:00
Anthony Roussel
09e9d47508
nixos/plantuml-server: add hardening 2023-11-15 15:12:58 +01:00
Anthony Roussel
e3839eef71
nixos/plantuml-server: remove with lib; notation
https://nix.dev/guides/best-practices#with-scopes
2023-11-15 15:12:58 +01:00
Izorkin
63ed35dac4 nixos/mastodon: update elasticsearch configuration 2023-11-15 14:01:47 +01:00
Ryan Lahfa
d983d6c863
Merge pull request #251950 from erictapen/mastodon 2023-11-15 01:46:50 +01:00
Kerstin Humm
c82195d9e8
mastodon: 4.1.6 -> 4.2.1
- run streaming processes in separate systemd services
- remove redundancy in test
- fix update script
- release notes

See https://github.com/mastodon/mastodon/releases/tag/v4.2.1 for details
2023-11-14 21:13:46 +01:00
Niklas Hambüchen
f9c7c12de6
Merge pull request #266702 from nh2/plausible-listen-address-no-distributed-erlang
plausible, nixos/plausible: Add `listenAddress` option
2023-11-14 10:52:21 +01:00
Niklas Hambüchen
65a471717c plausible, nixos/plausible: Add listenAddress option.
This changes

* the plausible HTTP web server

to be listening on localhost only, explicitly.

This makes Plausible have an explicit safe default configuration,
like all other networked services in NixOS.

For background discussion, see: https://github.com/NixOS/nixpkgs/issues/130244

As per my upstream Plausible contribution
(https://github.com/plausible/analytics/pull/1190)
Plausible >= 1.5 also defaults to listening to localhost only;
nevertheless, this default should be stated explicitly in nixpkgs
for easier review and independence from upstream changes, and
a NixOS user must be able to configure the
`listenAddress`, as there are valid use cases for that.

Also, disable

* the Erlang Beam VM inter-node RPC port
* the Erlang EPMD port

because Plausible does not use them (see added comment).
This is done by setting `RELEASE_DISTRIBUTION=none`.

Thus, this commit also removes the NixOS setting `releaseCookiePath`,
because it now has no effect.
2023-11-14 10:51:16 +01:00
Maximilian Bosch
48459567ae nixos/postgresql: drop ensurePermissions, fix ensureUsers for postgresql15
Closes #216989

First of all, a bit of context: in PostgreSQL, newly created users don't
have the CREATE privilege on the public schema of a database even with
`ALL PRIVILEGES` granted via `ensurePermissions` which is how most of
the DB users are currently set up "declaratively"[1]. This means e.g. a
freshly deployed Nextcloud service will break early because Nextcloud
itself cannot CREATE any tables in the public schema anymore.

The other issue here is that `ensurePermissions` is a mere hack. It's
effectively a mixture of SQL code (e.g. `DATABASE foo` is relying on how
a value is substituted in a query. You'd have to parse a subset of SQL
to actually know which object are permissions granted to for a user).

After analyzing the existing modules I realized that in every case with
a single exception[2] the UNIX system user is equal to the db user is
equal to the db name and I don't see a compelling reason why people
would change that in 99% of the cases. In fact, some modules would even
break if you'd change that because the declarations of the system user &
the db user are mixed up[3].

So I decided to go with something new which restricts the ways to use
`ensure*` options rather than expanding those[4]. Effectively this means
that

* The DB user _must_ be equal to the DB name.
* Permissions are granted via `ensureDBOwnerhip` for an attribute-set in
  `ensureUsers`. That way, the user is actually the owner and can
  perform `CREATE`.
* For such a postgres user, a database must be declared in
  `ensureDatabases`.

For anything else, a custom state management should be implemented. This
can either be `initialScript`, doing it manual, outside of the module or
by implementing proper state management for postgresql[5], but the
current state of `ensure*` isn't even declarative, but a convergent tool
which is what Nix actually claims to _not_ do.

Regarding existing setups: there are effectively two options:

* Leave everything as-is (assuming that system user == db user == db
  name): then the DB user will automatically become the DB owner and
  everything else stays the same.

* Drop the `createDatabase = true;` declarations: nothing will change
  because a removal of `ensure*` statements is ignored, so it doesn't
  matter at all whether this option is kept after the first deploy (and
  later on you'd usually restore from backups anyways).

  The DB user isn't the owner of the DB then, but for an existing setup
  this is irrelevant because CREATE on the public schema isn't revoked
  from existing users (only not granted for new users).

[1] not really declarative though because removals of these statements
    are simply ignored for instance: https://github.com/NixOS/nixpkgs/issues/206467
[2] `services.invidious`: I removed the `ensure*` part temporarily
    because it IMHO falls into the category "manage the state on your
    own" (see the commit message). See also
    https://github.com/NixOS/nixpkgs/pull/265857
[3] e.g. roundcube had `"DATABASE ${cfg.database.username}" = "ALL PRIVILEGES";`
[4] As opposed to other changes that are considered a potential fix, but
    also add more things like collation for DBs or passwords that are
    _never_ touched again when changing those.
[5] As suggested in e.g. https://github.com/NixOS/nixpkgs/issues/206467
2023-11-13 17:16:25 +01:00
Sebastian Sinnlos
71dd9c3d53 nixos/nextcloud: missing ocm-dir applys also from 26.0.8 onward
ocmProviderIsNotAStaticDirAnymore applys also to nextcloud26 form 26.0.8
onwards til EOL in 2024-03
2023-11-12 01:11:00 +01:00
Maciej Krüger
e9a5bf8ae4
Merge pull request #265712 from nbraud/nixos/sudo-rs/akkoma 2023-11-11 18:10:25 +01:00
Anthony Roussel
e30f48be94
treewide: fix redirected and broken URLs
Using the script in maintainers/scripts/update-redirected-urls.sh
2023-11-11 10:49:01 +01:00
Jörg Thalheim
a7c984b7a2 nixos/mediawiki: pin php to 8.1 2023-11-06 22:52:42 +01:00
Jörg Thalheim
915ad8a77b nixos/mediawiki: fix rewrites for static ressources and rest API 2023-11-06 22:52:42 +01:00
nicoo
9aee9b163e nixos/akkoma: Do not warn under sudo-rs 2023-11-05 18:40:33 +00:00
Felix Bühler
85f1ba3e51
Merge pull request #263173 from r-ryantm/auto-update/freshrss
freshrss: 1.21.0 -> 1.22.1
2023-11-04 13:09:36 +01:00
Alexandru Scvortov
cbbe57bc52 elixir: make 1.15 default and pin existing pkgs to 1.14 2023-11-02 20:16:00 +00:00
Gabriel Simmer
cd23ec7c7b
nixos/coder: add environment.extra and environment.file 2023-11-01 13:09:29 +00:00
Felix Buehler
29d41b7fd2 nixos/freshrss: migrate to DATA_PATH 2023-11-01 12:31:42 +01:00
Jakob Schöttl
7a363cef5f nixos/dolibarr: add package option
Allow users to easily use a different dolibarr version, e.g. version 18
(currently in unstable) instead of 16.
2023-11-01 08:50:36 +01:00
Robert Hensing
29697af6ae
Merge pull request #258068 from Izorkin/update-peertube
peertube: 5.1.0 -> 5.2.1
2023-10-31 23:44:14 +01:00
Linus Heckemann
8670794565
Merge pull request #263203 from nikstur/replace-activation
Replace simple activationScripts
2023-10-28 10:17:15 +02:00
Peder Bergebakken Sundt
a9d001fd4a
Merge pull request #260877 from moritzrickert/plausible-registration-invite-only
nixos/plausible: add invite only registrations
2023-10-27 23:49:49 +02:00
tomf
b42ca6b992
Merge pull request #260346 from l0b0/feat/shiori-webroot
nixos/shiori: add web root option
2023-10-28 04:25:40 +11:00
Pol Dellaiera
aaccf42b1b
Merge pull request #261432 from yayayayaka/snipe-it-convert-to-buildComposerProject
snipe-it: convert to buildComposerProject
2023-10-27 01:36:34 +02:00
Yaya
d91c530a55
snipe-it: Convert to php.buildComposerPackage 2023-10-26 18:51:05 +02:00
Henri Menke
e0cebb254e
nixos/c2fmzq-server: init module
Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com>
Co-authored-by: Anselm Schüler <mail@anselmschueler.com>
Co-authored-by: h7x4 <h7x4@nani.wtf>
2023-10-26 17:27:51 +02:00
Moritz Rickert
09794b1ee4 nixos/plausible: add invite only registrations 2023-10-26 16:54:25 +02:00
nikstur
168b967b32 nixos/mattermost: replace activationScript via tmpfiles 2023-10-26 01:43:56 +02:00
Stig
a99cbd99e1
Merge pull request #255715 from TomaSajt/lanraragi
lanraragi: init at 0.8.90
2023-10-25 10:54:27 +02:00
TomaSajt
8e18ff0c24
nixos/lanraragi: init 2023-10-25 01:14:59 +02:00
K900
d0d6219c42
Merge pull request #262265 from chayleaf/akkoma-extra
nixos/akkoma: add services.akkoma.dist.extraFlags
2023-10-24 18:30:24 +03:00
Bjørn Forsman
142074c2a8 nixos: fix bad mkEnableOption descriptions
Fix descriptions that don't account for (1) the "Whether to enable"
prefix or (2) the automatically added trailing dot.
2023-10-20 16:22:40 +01:00
Pol Dellaiera
fdecb1dabf
Merge pull request #244941 from h7x4/reduce-options-in-hedgedoc-module
nixos/hedgedoc: refactor to reduce option count
2023-10-20 16:07:16 +02:00
chayleaf
e2b6ff8384 nixos/akkoma: add services.akkoma.dist.extraFlags
This allows configuring Erlang flags
2023-10-20 17:34:14 +07:00
Cabia Rangris
585a8b12b1
Merge pull request #258853 from SuperSandro2000/dex
nixos/dex: fix start with latest systemd update
2023-10-20 09:59:21 +00:00
Emily
4d0db3bfee
Merge pull request #259254 from Tom-Hubrecht/nixos-outline
nixos/outline: Add the possibility of using local storage instead of S3
2023-10-20 00:10:40 +02:00
Thiago Kenji Okada
24a1589ebf
Merge pull request #251996 from surfaceflinger/microbin
microbin: add service
2023-10-19 18:36:02 +01:00
Tom Hubrecht
be68df309d nixos/outline: Add the possibility of using local storage instead of S3 2023-10-19 17:58:27 +02:00
Maximilian Bosch
2ee12a93de treewide: remove myself (ma27) from a few packages
It's time again, I guess :>

Main motivation is to stop being pinged about software that I maintained
for work now that I'm about to switch jobs. There's no point in pinging
me to review/test updates or to debug issues in e.g. the Atlassian stack
or on mailman since I use neither personally.

But there's also a bunch of other stuff that I stopped using personally. While
at it I realized that I'm still maintainer of a few tests & modules related to
packages I stopped maintaining in the past already.
2023-10-18 15:47:20 -03:00
Victor Engmark
8da856302c
nixos/shiori: add web root option
Fixes #260328, allowing users to host the service somewhere other than
the root of the host.

Co-authored-by: h7x4 <h7x4@nani.wtf>
2023-10-17 10:11:00 +13:00
nat
8009330112
nixos/microbin: add module 2023-10-16 21:38:20 +02:00
h7x4
abe468822f
nixos/hedgedoc: add SuperSandro2000 and h7x4 as maintainer 2023-10-16 20:38:47 +02:00
h7x4
a70a3e61d7
nixos/hedgedoc: harden systemd unit 2023-10-16 20:38:47 +02:00
lelgenio
218bef9116 nixos/writefreely: fix admin user creation on sqlite 2023-10-16 10:41:47 -03:00
Yureka
3488f86baf nixos/peering-manager: add scheduled tasks 2023-10-15 22:01:04 +02:00
h7x4
6cd8da76f9
nixos/hedgedoc: refactor to reduce option count
- Remove lots of declared options that were not used outside of being
  included in settings. These should now be used through the freeform
  module.
- Deprecate `cfg.workDir`, in favor of using systemds `StateDirectory`
- Use sqlite as default database.

Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
2023-10-15 08:45:43 +02:00
Maximilian Bosch
35f6dbe7fc
Merge pull request #259967 from Ma27/nextcloud-cleanups
nextcloud: 27.1.0 -> 27.1.2, update nginx, drop nextcloud25
2023-10-13 16:40:40 +02:00
Sandro Jäckel
39e1727f0f
nixos/dex: fix start with latest systemd update
With those settings starting dex crashed with:

Oct 03 21:37:51 hydrogen (tart-pre)[11048]: dex.service: Failed to set up mount namespacing: /run/systemd/mount-rootfs/sys/fs/cgroup/system.slice/dex.service/memory.pressure: No such file or directory
Oct 03 21:37:51 hydrogen (tart-pre)[11048]: dex.service: Failed at step NAMESPACE spawning /nix/store/q8clp1lm8jznxf9330jd8cwc6mdy6glz-dex-start-pre: No such file or directory
2023-10-13 00:34:08 +02:00
Maximilian Bosch
ad57ad1ff5
nixos/nextcloud: update / clean up the nginx configuration
First of all, a few cleanups were made to make it more readable:

* Reordered the sections by their priority so what you're reading in Nix
  is also what you get in the final nginx.conf.
* Unified media/asset locations

Most notably, this fixes the

    Your web server is not properly set up to resolve "/ocm-provider/".

warning since 27.1.2 where `ocm-provider` was moved from a static
directory in the source tarball to a dynamic HTTP route[1].

Additionally, the following things were fixed:

* The 404 checks for build/tests/etc. are now guaranteed to be before
  the `.php` location match and it's not implicitly relied upon Nix's
  internal attribute sorting anymore.

* `.wasm` files are supported properly and a correct `Content-Type` is
  set.

* For "legacy" routes (e.g. `ocs-provider`/`cron`/etc) a `rewrite` rule
  inside the location for fastcgi is used as recommended by upstream[2].
  This also makes it easier to understand the purpose of the location
  itself (i.e. use fastcgi for PHP code).

[1] https://github.com/nextcloud/documentation/pull/11179
[2] https://docs.nextcloud.com/server/27/admin_manual/installation/nginx.html
2023-10-09 12:40:57 +02:00
Maximilian Bosch
8702ae0110
nixos/nextcloud: drop enableBrokenCiphersForSSE
🎉
2023-10-09 12:40:57 +02:00
sefidel
57dbf4c082
nixos/tt-rss: supply --force-yes to update-schema
This commit fixes the service failing to start for the first time since
the update-schema operation requires human interaction (typing 'yes') in
order to actually perform the schema upgrade.
2023-10-08 01:21:44 +09:00
Maximilian Bosch
efc5c80e18
nextcloud25: remove
EOL of Nextcloud v25 is scheduled by the end of this month.
2023-10-07 16:16:42 +02:00
Weijia Wang
39edffebe6
Merge pull request #253548 from Quantenzitrone/rimgo
rimgo: init at 1.2.0 & module
2023-10-06 17:50:58 +02:00
Atemu
eae761dcb0
Merge pull request #245593 from wamserma/grocy-add-package-option
grocy: add package option
2023-10-06 13:56:58 +02:00
Jörg Thalheim
07c70a41ab nixos/mediawiki: add nginx option
mediawiki: configure uploadsDir
2023-10-04 22:21:55 +01:00
Ruby Juric
638d19ac92
zitadel: init at 2.37.2; nixos/zitadel: init (#254896) 2023-10-03 07:11:18 +02:00
Wietse de Vries
86dbce6d07 audiobookshelf: init module 2023-09-29 22:01:45 +02:00
Izorkin
41b8c8b23b
peertube: update nginx configuration 2023-09-29 19:53:05 +03:00
Izorkin
59ed5f7c5c
peertube: 5.1.0 -> 5.2.1 2023-09-29 19:49:48 +03:00
Quantenzitrone
f857cfd5be rimgo: add module 2023-09-29 08:59:59 +02:00
Ryan Lahfa
e909050efd
Merge pull request #257047 from minijackson/netbox-3.6.2 2023-09-27 18:50:54 +02:00
Minijackson
828f0446f5
nixos/netbox: use netbox_3_6 for stateVersion>=23.11 2023-09-26 22:42:49 +02:00
Yureka
d490800f0f nixos/peering-manager: use settingsFormat 2023-09-26 14:42:45 +02:00
Will Fancher
350b6b84e6
Merge pull request #257325 from NixOS/honk/fix-initdb-script-startup
nixos/modules/honk: fix initdb service startup
2023-09-25 20:01:04 -04:00
Weijia Wang
9e821b5ae0
Merge pull request #241542 from dasj19/wordpress-avoid-language-folder
wordpress: fixed installing of languages
2023-09-25 23:32:31 +02:00
Pol Dellaiera
57514f5beb
nixos/modules/honk: fix initdb service startup 2023-09-25 22:02:52 +02:00
Minijackson
6c7e768420
netbox_3_5: introduce alias
clears up ambiguity
use that alias in tests

Co-authored-by: Raito Bezarius <masterancpp@gmail.com>
2023-09-24 10:13:05 +02:00
Markus S. Wamser
02f0dc8cff grocy: add package option
apply review from @SuperSandro2000

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-09-21 18:01:23 +02:00
Yorick
829514e2da
Merge pull request #251597 from wietsedv/calibre-web
nixos/calibre-web: add package and enableKepubify options
2023-09-20 22:35:16 +02:00
Robert Schütz
728bae020d
Merge pull request #253687 from dotlambda/plausible-2.0.0
plausible: 1.4.4 -> 2.0.0
2023-09-20 19:28:09 +00:00
Lin Jian
d27a248494
Merge pull request #255064 from tomfitzhenry/vikunja-cli
nixos/vikunja: install 'vikunja' CLI tool
2023-09-20 18:03:34 +08:00