Commit Graph

18832 Commits

Author SHA1 Message Date
Sandro
4cc6ce454d
Merge pull request #291913 from SuperSandro2000/sddm-wayland-only 2024-04-09 14:31:12 +02:00
Sandro
550f705f42
Merge pull request #301392 from McSinyx/yubi-pinentry-doc 2024-04-09 10:54:22 +02:00
Bjørn Forsman
a29010fe79 nixos: improve many 'enable' descriptions 2024-04-09 07:10:17 +02:00
Sandro Jäckel
476b8c276e
treewide: rename renamed sddm/displayManager settings 2024-04-08 21:56:38 +02:00
Sandro Jäckel
5598d81e94
nixos/graphical-desktop: extract generic graphical things from xserver
This is required to fix the keymap in SDDM without X.
2024-04-08 21:56:37 +02:00
Sandro Jäckel
d220d8bb6f
nixos/sddm: allow running on wayland without xserver enabled 2024-04-08 21:56:37 +02:00
Sandro Jäckel
0d3ab0d4ec
nixos/sddm: move option from services.xserver.displayManager.sddm to services.displayManager.sddm
Because it is not just X anymore
2024-04-08 21:56:37 +02:00
Sandro Jäckel
6be2bfcc32
nixos/display-managers: extract generic display-manager bits
Some settings which where before inside the xserver module, are generic
and also required for SDDM under wayland. To make them easily re-usable
lets extract them.
2024-04-08 21:56:36 +02:00
Florian Klink
1dab5d7c77
Merge pull request #302228 from xzfc/bind-ipv6
bind: allow recursive queries from IPv6 loopback
2024-04-08 18:35:18 +03:00
linsui
1f761a49ce i2p: cleanup and build jbigi from source 2024-04-08 22:29:23 +08:00
Cabia Rangris
215d144f77
nixos/outline: fix s3 storage (#302567)
ReadWritePaths were crashing the unit due to non-existent folders on s3 configuration

https://github.com/NixOS/nixpkgs/pull/298892#issuecomment-2042666854
2024-04-08 17:06:27 +04:00
Sandro
b32f206faa
Merge pull request #258520 from Benjamin-L/soju-admin-socket 2024-04-08 10:20:31 +02:00
K900
0473abba29
Merge pull request #300241 from SuperSandro2000/plasma6-kio-no-kcms
nixos/plasma6: don't add kio's KCMs to systemsettings
2024-04-08 10:57:23 +03:00
abysssol
18a5476aa7 nixos/ollama: add options to override HOME and OLLAMA_MODELS 2024-04-07 22:56:43 -04:00
Benjamin Lee
d772ac182f
nixos/soju: add sojuctl wrapper with config path
The config is a in an arbitrary nix store path, and is necessary to
invoke sojuctl. Without the wrapper, you have to read the systemd unit
or use a similar trick to find it.
2024-04-07 13:45:47 -07:00
Benjamin Lee
5207bb723a
nixos/soju: add adminSocket.enable option 2024-04-07 13:45:19 -07:00
Benjamin Lee
4959d7bcd8
nixos/soju: add package option 2024-04-07 13:45:17 -07:00
Weijia Wang
0f58ce3b44
Merge pull request #300487 from davidkna/kavita-token
nixos/kavita: document new `tokenKeyFile` requirements
2024-04-07 19:27:34 +02:00
Sandro Jäckel
15f795e391
nixos/plasma6: don't add kio's KCMs to systemsettings
which fail to load anyway
2024-04-07 19:24:04 +02:00
Aleksana
48a26791f1
Merge pull request #296759 from jpds/thanos-grpc-compression-opt
nixos/thanos: Added grpc-compression option
2024-04-08 00:43:07 +08:00
Sandro
0f3f375722
Merge pull request #282912 from phaer/healthchecks-update
healthchecks: 2.10 -> 3.3
2024-04-07 18:01:20 +02:00
Guanran Wang
63c0c98167
nixos/mihomo: fix option description 2024-04-07 21:47:03 +08:00
Albert Safin
9b383de757 bind: allow recursive queries from IPv6 loopback 2024-04-07 01:14:38 +00:00
Oliver Schmidt
694bef76b9 nixos/logrotate docs: clarify settings
I found the description text of the freeform settings a bit unclear
regarding the priority and ordering of sections:
It was not immediately clear to me that the `priority` was a NixOS
module-level sub option instead of a logrotate-native configuration
directive.

To clarify this, I extend the examples and higlight `priority` as a
module option.
2024-04-07 00:23:39 +02:00
Bjørn Forsman
786141228f nixos/borgbackup: fix directory ownership regression
Re-add separate creation of the ~/.config and ~/.cache directories so
that they get correct ownership. Or else they get owned by root.

systemd-tmpfiles also warns about it:

  machine # [    3.022195] systemd-tmpfiles[472]: Detected unsafe path transition /home/user1 (owned by user1) → /home/user1/.cache (owned by root) during canonicalization of home/user1/.cache.
  machine # [    3.024566] systemd-tmpfiles[472]: Detected unsafe path transition /home/user1 (owned by user1) → /home/user1/.config (owned by root) during canonicalization of home/user1/.config.

Fixes: 8d3cf213db ("nixos/borgbackup: replace activationScript via tmpfiles")
2024-04-06 16:38:11 +02:00
Sandro
4e6092c8cd
Merge pull request #281278 from Moraxyc/nezha-agent 2024-04-06 12:35:07 +02:00
5468e6802a nixos/mautrix-meta: fix lax enable check
enabledInstances is an attrset: the previous logic would always pass and
result in, for example, a `mautrix-meta` and a
`mautrix-meta-registration` group being shipped to every nixos machine
whether mautrix was enabled or not.
2024-04-05 20:05:41 +00:00
Kerstin
89000ace32
Merge pull request #299460 from linyinfeng/hledger-web
nixos/hledger-web: fix access control option
2024-04-05 17:04:47 +02:00
Bobby Rong
29f96f114b
Merge pull request #301847 from bobby285271/upd/pantheon
pantheon.gala: Fix missing URI handler
2024-04-05 22:53:24 +08:00
Bobby Rong
bd3f680d37
pantheon.gala: Backport Wayland menu commit
gala-daemon actually needs a correct environment for `AppInfo.launch_default_for_uri`.
2024-04-05 21:23:11 +08:00
phaer
55a16a6282 nixos/healthchecks: don't compress in debug mode 2024-04-05 12:13:17 +00:00
Weijia Wang
c821c015c5
Merge pull request #291346 from aorith/init-silverbullet
silverbullet: init at 0.7.6
2024-04-05 06:31:50 +02:00
Weijia Wang
bdbff7475d
Merge pull request #301599 from zimbatm/cloud-init-no-syslog-target
nixos/cloud-init: remove syslog.target from services
2024-04-05 03:22:11 +02:00
Kevin Cox
9c636e8416
Merge pull request #296718 from Rutherther/mautrix-meta-init
mautrix-meta: init at 0.2.0
2024-04-04 18:07:19 -04:00
Silvan Mosberger
a448a21521
Merge pull request #301556 from edef1c/lib-xor
lib: add xor
2024-04-04 22:03:53 +02:00
edef
725bb4e48c lib: add xor
This gets clumsily reimplemented in various places, to no useful end.
2024-04-04 19:46:58 +00:00
Pol Dellaiera
53e51b19d4
Merge pull request #298742 from FabianRig/technitium-dns-server-module
nixos/technitium-dns-server: init module
2024-04-04 21:43:08 +02:00
zimbatm
dc396ffe85 nixos/cloud-init: remove syslog.target from services
It has been removed from systemd, see NixOS#149721.
2024-04-04 19:11:16 +02:00
Sandro
0bb462d49c
Merge pull request #301267 from bb2020/mbpfan 2024-04-04 16:01:21 +02:00
bb2020
678bc2cec5 nixos/mbpfan: remove syslog.target 2024-04-04 16:07:14 +03:00
bb2020
bf57e97ef0 nixos/mbpfan: minor changes 2024-04-04 16:06:49 +03:00
Jörg Thalheim
44fd320df6 nixos/borgbackup: fix network-online.target warning
service runs after network-online.target but doesn't depend on it.
2024-04-04 13:49:40 +02:00
r-vdp
1eb26d4140
nixos/firewall-nftables: allow adding additional rules to the rpfilter chain 2024-04-04 13:07:52 +02:00
LDprg
f53b77fe44 dbus-broker: Add dbus for dbus tools to environment.systemPackages 2024-04-04 01:32:45 -07:00
LDprg
e827697fd3 dbus: Switch default implementation to broker 2024-04-04 01:32:45 -07:00
Pol Dellaiera
537d34da58
Merge branch 'master' into technitium-dns-server-module 2024-04-04 08:25:51 +02:00
FabianRig
f126a02f2f nixos/technitium-dns-server: init module 2024-04-04 07:41:52 +02:00
Nguyễn Gia Phong
69c4563551
nixos/yubikey-agent: update doc ref to pinentry
References: b437b19f54 ("nixos/yubikey-agent: fix eval error")
2024-04-04 09:26:58 +09:00
superherointj
e0084573ce
Merge pull request #301274 from Ramblurr/update/davis
davis: 4.4.1 -> 4.4.2
2024-04-03 18:29:26 -03:00
Sandro
8042af035c
Merge pull request #223148 from Mynacol/rss-bridge-config
rss-bridge: add config option
2024-04-03 23:07:06 +02:00
Sandro
8052832ca3
Merge pull request #295016 from SuperSandro2000/vaultwarden-cleanup
nixos/vaultwarden: drop with lib over entire file, drop lib.mdDoc
2024-04-03 21:57:53 +02:00
Sandro
fde2616a88
Merge pull request #299656 from yunfachi/fix/archisteamfarm
nixos/archisteamfarm: fix empty check for bots
2024-04-03 21:21:21 +02:00
lassulus
a41e12cc9d
Merge pull request #286356 from Stunkymonkey/terraria-umask-group
nixos/terraria: prefer 'serviceConfig' over 'chmod/chgrp'
2024-04-03 21:05:22 +02:00
Felix Buehler
8dab54e2b3 nixos/gogs: prefer 'umask' over 'chmod' 2024-04-03 19:40:12 +02:00
Martin Weinelt
394a44ced3
Merge pull request #299408 from podocarp/jxd/add-config
gitea-actions-runner: add config to register task
2024-04-03 17:26:59 +02:00
Aleksana
cd6f498571
Merge pull request #301084 from LostAttractor/fix/v2raya
nixos/v2raya: fix nftables support
2024-04-03 22:09:33 +08:00
Jia Xiaodong
a19bf3e045
Merge branch 'NixOS:master' into jxd/add-config 2024-04-03 20:29:53 +08:00
ChaosAttractor
865f976ddd
nixos/v2raya: fix nftables support 2024-04-03 16:07:02 +08:00
Christoph Hrdinka
04b315de7b
Merge pull request #290510 from melvyn2/nsd-options
nixos/nsd: add multi-master-check and zonefiles-write options
2024-04-03 09:07:06 +02:00
Casey Link
f47833f209
nixos/davis: remove patches that have been upstreamed
* Our patchset is no longer required (see https://github.com/tchapi/davis/pull/156)
* Though the upstream var names changed, so we had to update those too
* These vars are managed by the nixos module and hence are not breaking
  changes for users of the module.
* Also removed need to specify postgres charset in non-standard way
  (see https://github.com/tchapi/davis/issues/153)

Release notes: https://github.com/tchapi/davis/releases/tag/v4.4.2
2024-04-03 08:04:11 +02:00
Maciej Krüger
598c71dac6
Merge pull request #222415 from justinas/prometheus-exporters-nftables
prometheus-exporters: support nftables
2024-04-03 01:28:20 +02:00
Pol Dellaiera
f4255ff98d
Merge pull request #296679 from bhankas/ocis
ocis-bin: init at 5.0.0
2024-04-02 23:23:36 +02:00
Payas Relekar
427bf67bed nixos/ocis: init at 5.0.0
Co-authored-by: Casey Link <unnamedrambler@gmail.com>
2024-04-03 00:53:24 +05:30
Rutherther
5effc7956a mautrix-meta: init service
Acked-by: Rutherther <rutherther@proton.me>
2024-04-02 19:16:45 +02:00
melvyn
46232e9f23
nixos/nsd: add multi-master-check, zonefiles-write, remove database options
The database option and functionality was completely removed in nsd 4.8.0
Also remove obselete lib.mdDoc option strings
2024-04-02 10:11:40 -07:00
Kerstin
9ce47d84cd
Merge pull request #298113 from Ma27/mastodon-init-db-error-handling
nixos/mastodon: stop mastodon-init-db.service if check for seeded DB fails
2024-04-02 18:27:00 +02:00
Sandro Jäckel
4677729c56
nixos/udev: only load firmware from udev when the nixos kernel is used
This is not the case for eg. NixOS in WSL
2024-04-02 18:14:50 +02:00
Sandro Jäckel
413f779bc0
nixos/udev: don't create modprobe config if modprobe is disabled 2024-04-02 18:14:25 +02:00
Aaron Andersen
46bcc66f01
Merge pull request #300805 from felixsinger/pkgs/redmine/fix-assertion
nixos/redmine: Fix broken assertion when SQLite is used
2024-04-02 11:37:39 +00:00
Felix Buehler
43f956227e nixos/cjdns: prefer 'install' over 'chmod' 2024-04-02 08:43:20 +00:00
Yaya
dcd0f499c6 nixos/gitlab: Add option sidekiq.concurrency.
This commit adds an option to configure the amount of threads to use
with sidekiq-cluster. The GitLab default is currently set to 20 threads. In
space constrained environments this may become a problem with running
out of memory as a result.
2024-04-02 07:30:12 +02:00
Mario Rodas
5b3704b4d3
Merge pull request #296616 from Ma27/postgresql-rfc42-submodule
nixos/postgresql: turn `settings` into a submodule
2024-04-01 18:26:51 -05:00
Zebreus
eafd39c605 nixos/redmine: Fix broken assertion with sqlite3 database
Somehow this was missed while working on commit ddd15dc2d9. So make the
assertion working when SQLite is used.
2024-04-02 00:17:23 +02:00
Weijia Wang
12375393fb
Merge pull request #299376 from newAM/nixos-llama-cpp-fix
nixos/llama-cpp: fix example flags
2024-04-02 00:03:31 +02:00
Weijia Wang
a5fcefa1ad
Merge pull request #292835 from sinavir/castopod2
nixos/castopod: updated nixos test and module
2024-04-01 20:27:49 +02:00
Aaron Andersen
98f2a766ef
Merge pull request #298740 from felixsinger/pkgs/redmine/rework
redmine: Rework module and update package
2024-04-01 18:17:17 +00:00
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
Aaron Andersen
c4719710f0
Merge pull request #298068 from posch/manage-gids
nixos/nfsd: settings for /etc/nfs.conf
2024-04-01 16:15:10 +00:00
Casey Link
17d73dc9a1
nixos/davis: init 2024-04-01 12:55:29 +02:00
Pablo Ovelleiro Corral
7f797a698f
wastebin: init at 2.4.3 (#287455)
* wastebin: init at 2.4.3

* nixos/wastebin: init

Add module and test for wastebin
2024-04-01 04:55:15 +04:00
lunik1
121490461b
nixos/inadyn: init 2024-04-01 01:24:46 +01:00
Weijia Wang
48472a7639
Merge pull request #300463 from soispha/libreddit_fix_hardcoded_binary_name
nixos/libreddit: Don't hard code binary name in `ExecStart`
2024-03-31 23:37:33 +02:00
Soispha
90e5e88c74
nixos/libreddit: Don't hard code binary name in ExecStart
Hard coding the name to `libreddit` makes it impossible to use
this module to run `redlib` (a continued fork of `libreddit`).
As `libreddit` has the `mainProgram` meta attribute set, changing
this to `lib.getExe` should not change the module for `libreddit`,
but allows it to work with the `redlib` package.
2024-03-31 22:57:50 +02:00
Moraxyc
c1a41863db
nixos/nezha-agent: init module 2024-04-01 03:38:51 +08:00
David Knaack
2bde9aa8f8 nixos/kavita: document new tokenKeyFile requirements 2024-03-31 16:11:40 +02:00
Yt
a87b7b96b1
Merge pull request #297014 from onny/davfs2
nixos/davfs2: Convert extraConfig to freeform type (RFC42)
2024-03-31 14:01:24 +00:00
Jonas Heinrich
8616aca59a nixos/davfs2: Convert extraConfig to freeform type 2024-03-31 15:27:21 +02:00
Lin Yinfeng
484c1c1ff8
nixos/hledger-web: fix access control options 2024-03-31 12:50:08 +08:00
Weijia Wang
93a725e1a5
Merge pull request #296361 from bhankas/workout-tracker
workout-tracker: init at 0.10.5
2024-03-31 04:50:58 +02:00
Morgan Helton
dd2c6f1840 nixos/sunshine: init 2024-03-30 20:07:35 -05:00
K900
ff964811c9
Merge pull request #300234 from SuperSandro2000/partition-plasma6
nixos/partition-manager: use qt6 when plasma6 is activated p
2024-03-30 17:27:49 +03:00
Sandro Jäckel
94805a3d21
nixos/partition-manager: use qt6 when plasma6 is activated
This also fixes System Settings > Windows Shares complaining about the
wrong QT version under Plasma6.
2024-03-30 14:31:45 +01: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
Yaya
774056a4e6 nixos/gitlab: Rename workhorse binary 2024-03-30 12:47:30 +01:00
Felix Singer
ddd15dc2d9 nixos/redmine: Allow using SQLite as database backend
Signed-off-by: Felix Singer <felixsinger@posteo.net>
2024-03-30 08:23:20 +01:00
Felix Singer
0b11c8f47c nixos/redmine: Use attribute set for storing database settings
Signed-off-by: Felix Singer <felixsinger@posteo.net>
2024-03-30 08:21:18 +01:00
Felix Singer
8391b2c6ab nixos/redmine: Adjust database password conditionally
The commands for writing the database password string into the final
configuration file are ran in any case, even if it's not needed. Make
that conditional on if a password file is set.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2024-03-30 08:21:17 +01:00
lassulus
3cd1103ccd
Merge pull request #299866 from s1ls/invidious-router-module
nixos/invidious-router: init module
2024-03-29 22:42:52 +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
Maciej Krüger
c6bad4895a
Merge pull request #296729 from mkg20001/docuum
docuum: init at 0.23.1
2024-03-29 19:16:18 +01:00
Silas Schöffel
19b2b8046d
nixos/invidious-router: init module 2024-03-29 19:00:43 +01:00
Bobby Rong
e96d5c13d0
Merge pull request #140429 from bobby285271/pantheon-systemd
pantheon: manage user session with systemd
2024-03-29 22:55:39 +08:00
Martin Weinelt
9e29e9c255
Merge pull request #277407 from mweinelt/wyoming-satellite
wyoming-satellite: init at 1.2.0
2024-03-29 15:02:50 +01:00
Alessandro Labate
43521f9021
nixos/networkmanager: correct example (#295439)
The example pertinent to `fccUnlockScripts` contains wrong (maybe old) key names possibly leading to trial/error while configuring the option. This issue can be avoided updating the example.
2024-03-29 14:42:14 +01:00
r-vdp
b9fc0a8f67
nixos/mycelium: allow specifying extra args to mycelium 2024-03-29 13:38:59 +01:00
K900
3c9e0924c4
Merge pull request #299805 from ncfavier/xorg-module-order
nixos/xserver: respect module order
2024-03-29 12:47:38 +03:00
Martin Weinelt
b84f4bb54d
nixos/wyoming: move into home-automation category 2024-03-29 03:04:44 +01:00
Martin Weinelt
e0b4ab1a31
nixos/wyoming/satellite: init 2024-03-29 03:04:44 +01:00
Martin Weinelt
eb4113b79c
nixos/homeassistant-satellite: remove in favor of wyoming-satellite
The upstream repository was archived mid december 2023.
2024-03-29 03:04:43 +01:00
Naïm Favier
0e347b1a77
nixos/xserver: respect module order
Reimplement the `ModulePath` generation logic by only adding the
`/lib/xorg/modules` subpath for each module, in the specified order.

In particular, hardware-specific drivers are listed *before*
`xorgserver`, which fixes https://github.com/NixOS/nixpkgs/issues/299684.

This also keeps the list reproducible, as wanted by https://github.com/NixOS/nixpkgs/pull/230186.

I have confirmed that X is able to find `.so` files recursively within
the `ModulePath`, so that there is no need to include subdirectories of
`/lib/xorg/modules`. Furthermore, I don't expect there to be a need to
include directories *outside* of `/lib/xorg/modules`, as the default
`ModulePath` on standard distributions is `/usr/lib/xorg/modules`.
(see https://www.x.org/releases/current/doc/man/man5/xorg.conf.5.xhtml#heading4)
2024-03-28 23:17:52 +01:00
Bernardo Meurer
813ae91f20
Merge pull request #299755 from Ramblurr/fix/roon-server-pkg
nixos/roon-server: add package option
2024-03-28 17:52:45 -04:00
Robert Schütz
7cdbfcbbd2
Merge pull request #278981 from dotlambda/mollysocket-init
mollysocket: init at 1.3.0, nixos/mollysocket: init
2024-03-28 18:51:07 +00: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
Robert Schütz
078994248a nixos/mollysocket: init 2024-03-28 09:55:10 -07:00
anna
de9db9a27b brscan5: fix sane config path 2024-03-28 16:02:51 +01:00
Payas Relekar
466b994af9 nixos/workout-tracker: init 2024-03-28 20:08:28 +05:30
Casey Link
6955b3743c
nixos/roon-server: add package option
Upstream updates roon-server frequently, and client apps (iOS, Android,
etc) will stop working with older versions of the roon-server.

We can't always keep the roon-server up to date as fast as upstream
releases, so it is often necessary for users to use an overlay or
provide their own version.

In particular the use case of running NixOS stable channel, but wanting
to use the `pkgs.roon-server` from unstable is one that I want to
support with this simple change.
2024-03-28 14:12:12 +01:00
K900
95318bd0b8
Merge pull request #290122 from FriedrichAltheide/virtualbox-guest-additions-fixes
virtualbox: guest additions resize & clipboard fixes
2024-03-28 11:42:22 +03: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
yunfachi
c79bb39f81 nixos/archisteamfarm: fix empty check for bots 2024-03-28 08:53:52 +03:00
Sandro
d6411ed8c6
Merge pull request #297346 from codingCoffee/usbguard-fix
usbguard: fix policy enums
2024-03-27 18:52:43 +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
lassulus
e91a1ad1e3
Merge pull request #298737 from MatthewCroughan/mc/scion-modules
nixos/scion: init
2024-03-27 10:15:37 +01:00
jxd
88d183af85 init 2024-03-27 12:27:19 +08:00
Yongun Seong
477dce3b9a
nixos/kavita: accept freeform settings, ensure locales in tests 2024-03-26 21:15:29 -07:00
Alex Martens
1dacec9bb9 nixos/llama-cpp: fix example flags 2024-03-26 19:32:13 -07:00
éclairevoyant
eddbb7932f
nixos/wireplumber: reuse local binding to simplify 2024-03-26 16:41:58 -04:00
éclairevoyant
ff77d83327
nixos/wireplumber: provide example for services.pipewire.wireplumber.configPackages 2024-03-26 16:41:57 -04:00
éclairevoyant
f5b680b97c
nixos/wireplumber: update services.pipewire.wireplumber.configPackages description for v0.5 2024-03-26 16:41:57 -04:00
éclairevoyant
3aa01f7f13
nixos/wireplumber: inherit lib functions 2024-03-26 16:41:57 -04:00
éclairevoyant
d2843640cb
nixos/wireplumber: remove lib.mdDoc (no-op) 2024-03-26 16:41:52 -04:00
éclairevoyant
ff8f1a1f4e
nixos/pipewire: document example for services.pipewire.configPackages 2024-03-26 16:41:51 -04:00
éclairevoyant
27a2f2a429
nixos/pipewire: replace with lib; with inherit 2024-03-26 16:41:51 -04:00
éclairevoyant
f3b74afdc7
nixos/pipewire: remove lib.mdDoc (no-op) 2024-03-26 16:41:51 -04:00
Atemu
f54166d281
Merge pull request #299008 from Atemu/paperless-OMP_NUM_THREADS
nixos/paperless: set OMP_NUM_THREADS=1 by default
2024-03-26 19:45:45 +00:00
Atemu
70fa188e17 nixos/paperless: set OMP_NUM_THREADS=1 by default
Fixes https://github.com/NixOS/nixpkgs/issues/240591
2024-03-26 17:56:01 +01:00
matthewcroughan
99e488e2df nixos/scion: init 2024-03-26 15:54:09 +00:00
superherointj
6f414604e2
Merge pull request #296852 from Ramblurr/add-microsocks
microsocks: init at 1.0.4
2024-03-26 08:34:45 -03:00
Franz Pletz
05677341df
Merge pull request #298956 from ncfavier/nvidia-doc
nixos/nvidia: update manual
2024-03-26 12:31:36 +01:00
Friedrich Altheide
f0887fa040 virtualbox: fix guest additions resize support
- Build virtualbox guest additions from source and fix paths
- Install VBoxDRMClient to support resizing
  - Support resizing on wayland and x11
- Adding multiple new options
  - clipboard
  - seamless
- Removing x11 option
- Support linux 6.8
2024-03-26 11:47:00 +01:00
Casey Link
cef226e553
nixos/microsocks: init 2024-03-26 07:52:41 +01:00
Sandro
dcbfb2b98a
Merge pull request #262462 from io12/flatpak-fix-fonts-icons
nixos/flatpak: pass system icons and fonts
2024-03-25 23:23:09 +01:00
Stefan Frijters
ad594b4503
urserver: 3.10.0.2467 -> 3.13.0.2505 2024-03-25 23:22:16 +01:00
Sandro
c90ed026b7
Merge pull request #281075 from melvyn2/patch-2
nixos/slskd: refactor and add config file options
2024-03-25 21:00:01 +01:00
Naïm Favier
fb613a3a41
nixos/nvidia: update manual
Remove the `nvidiaLegacy*` video drivers from the manual: not only are
they deprecated, their deprecation notice was removed in
https://github.com/NixOS/nixpkgs/pull/244060.
2024-03-25 16:56:11 +01:00
Tobias Poschwatta
ee2b899ff7 nixos/nfsd: settings for /etc/nfs.conf
services.nfs.settings is added for options that go into /etc/nfs.conf.

There are services.nfs.server.extraNfsdConfig and
services.nfs.extraConfig, but they have drawbacks.  They overlap in
scope (nfs.extraConfig can also add nfsd options). They require that one
writes INI syntax. They often produce nfs.conf files with duplicate
section names, which is confusing.

This deprecates services.nfs.server.extraNfsdConfig and
services.nfs.extraConfig.

services.nfs.settings cannot be used together with
services.nfs.server.extraNfsdConfig or services.nfs.extraConfig.
2024-03-25 12:22:48 +01:00
Melvyn
4da76cc6f4
nixos/slskd: refactor and add config file options 2024-03-24 18:26:56 -07:00
Sandro
0e1cac923d
Merge pull request #286685 from max-niederman/photonvision
photonvision: init at 2024.2.3
2024-03-24 22:05:36 +01:00
Sandro
76e86c46b2
Merge pull request #273234 from SuperSandro2000/oauth2-proxy-nginx
nixos/oauth2_proxy_nginx: allow placing the login page itself under a separate domain
2024-03-24 22:03:10 +01:00
Sandro
dabaa7ac65
Merge pull request #288033 from diogotcorreia/module-dnsproxy
nixos/dnsproxy: init module
2024-03-24 21:52:09 +01:00
Felix Bühler
63078e3468
Merge pull request #298168 from ambroisie/improve-tandoor-recipes-manage
nixos/tandoor-recipes: improve manage script
2024-03-24 17:06:01 +01:00
Martin Weinelt
3bc33ba58d
nixos/wyoming-faster-whisper: update model option 2024-03-23 23:29:06 +01:00
K900
1b59f54864
Merge pull request #298363 from K900/greetd-alias
nixos/greetd: create display-manager.service alias
2024-03-24 01:04:40 +03:00
Maciej Krüger
94d6d4e93a
nixos/docuum: add module for docuum package
Co-Authored-By: Martin Weinelt <mweinelt@users.noreply.github.com>
2024-03-23 18:25:55 +01: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
Marie Ramlow
88daab5195 nixos/prometheus-fritz-exporter: init module 2024-03-23 16:32:25 +01:00
K900
c0949a240a nixos/greetd: create display-manager.service alias 2024-03-23 16:33:16 +03:00
Florian Klink
21721e4196 nixos/mycelium: description updates
- Slight rewordings and typo fixes.
 - Use documentation prefixes for addresses, rather than 1.2.3.4, and
   add IPv6 examples.
 - Fix description for `keyFile` (`/var/lib/mycelium/key{,.bin}`).
 - Some formatting by my editor
2024-03-23 12:36:49 +01:00
Bruno BELANYI
af6e257878 nixos/tandoor-recipes: improve manage script
This is shamelessly stolen from Photoprism's module, and should allow
executing the manage script without resorting to various tricks due to
relying on transient users.
2024-03-22 20:54:36 +00:00
Bruno BELANYI
6b1e9f77f9 nixos/tandoor-recipes: set service 'Group' 2024-03-22 20:47:55 +00: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
Yarny0
961584c3dc tsm-client: 8.1.21.0 -> 8.1.22.0
"Update History" (release notes):
https://www.ibm.com/support/pages/node/6998343

...does not list any security-relevant changes
(mostly trademark name changes).

Also, all URLs in package and module comments are updated.
2024-03-22 17:25:25 +01:00
Jonathan Davies
50fcbfbe26 nixos/thanos: Added query.grpc-compression and receive.grpc-compression option. 2024-03-22 12:21:15 +00:00
K900
176ee51929
Merge pull request #297806 from andrevmatos/nixos/wireplumber/fix_systemwide_bluetooth
nixos/wireplumber: fix systemwide bluetooth integration
2024-03-22 09:47:46 +03:00
Bobby Rong
5cf5dd0fb0
Merge pull request #297727 from bobby285271/upd/budgie-nemo-terminal
nixos/budgie: Use gnome-terminal by default
2024-03-22 13:20:40 +08:00
Bobby Rong
414628b4a0
nixos/budgie: Don't enable fprintd by default
This is optional for {budgie,gnome}-control-center and is not
enabled in the GNOME module.

To re-enable this fprintd should be unbreak first.
2024-03-22 12:28:17 +08: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
K900
ff3d03a15f
Merge pull request #297697 from K900/plasma6-install-kio5
plasma6: also install base kio5
2024-03-21 23:05:33 +03:00
André Vitor de Lima Matos
bdc6b3abe0
nixos/wireplumber: fix systemwide bluetooth integration
From https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3828#note_2270701
Broken/removed in #278760
2024-03-21 16:21:59 -03:00
Bruno BELANYI
21a59137a6 nixos/podgrab: add user/group options 2024-03-21 19:16:20 +00:00
K900
d23f4b140f
Merge pull request #297479 from cab404/raop-firewall
nixos/pipewire: raopOpenFirewall option
2024-03-21 18:05:20 +03:00
Bobby Rong
b79ac84d84
nixos/budgie: Use gnome-terminal by default
- Both budgie-desktop-view and cinnamon-desktop defaults to gnome-terminal, there
  are no clear reason why we don't use the defaults here.
  The cinnamon-desktop org.cinnamon.desktop.default-applications.terminal schema
  is used in nemo for default emulator, since we use nemo by default this fixes nemo
  open in terminal entry without introducing another override.
- There are theming issues with Qogir when opening right-click menu in a second tab.
- Transparency is broken when hovering on other windows, showing only the wallpaper.

This also ensures a stable default for budgie-desktop-view, by using only the
executable name and not a nix store path.

ref: https://github.com/BuddiesOfBudgie/budgie-desktop-view/blob/v1.3/data/org.buddiesofbudgie.budgie-desktop-view.gschema.xml#L60
ref: https://github.com/linuxmint/cinnamon-desktop/blob/6.0.0/schemas/org.cinnamon.desktop.default-applications.gschema.xml.in#L46
ref: https://github.com/linuxmint/nemo/blob/6.0.0/src/nemo-view.c#L7193
2024-03-21 22:16:25 +08:00
Martin Weinelt
3b7d9c77b3
Merge pull request #297622 from mweinelt/kea-exporter-0.7.0
kea-exporter: 0.6.1 -> 0.7.0
2024-03-21 14:29:42 +01:00
K900
4e5b7fe664 plasma6: also install base kio5
Fixes #295814
2024-03-21 15:19:44 +03:00
Stig
468417b7f3
Merge pull request #296479 from marcusramberg/marcus/nimdow
nixos/nimdow: module updates
2024-03-21 12:14:56 +01:00
Doron Behar
2897be360b
Merge pull request #287966 from Guanran928/clash-meta
nixos/mihomo: init
2024-03-21 10:40:10 +02:00
Martin Weinelt
c77d192eb4
prometheus-kea-exporter: 0.6.1 -> 0.7.0
https://github.com/mweinelt/kea-exporter/blob/v0.7.0/HISTORY

Updates the module to use the target name, because it now supports both
UDS as well as HTTP URLs.
2024-03-21 06:17:59 +01:00
Martin Weinelt
d702c91302
nixos/prometheus/exporters: pass utils into exporter modules
This is useful, because it provides escapeSystemdShellArgs.
2024-03-21 05:27:21 +01:00
github-actions[bot]
36232fff71
Merge master into staging-next 2024-03-20 18:01:02 +00:00
Dmitry Bogatov
5bb92281f5 nixos/dnscache: Provide explicit group for "dnscache" user
Without this patch the module refuses to evaluate, complaining that
default "nogroup" is no longer supported.
2024-03-20 16:45:50 +01:00
Cabia Rangris
eaf6b74366
nixos/pipewire: raopOpenFirewall option
RAOP requires UDP/6001-6002 for timing
information, and won't work with apple devices if
firewall is enabled.
2024-03-20 18:32:01 +03:00
Sandro
50b2e2a029
Merge pull request #296866 from SuperSandro2000/xserver-pinentry 2024-03-20 14:32:44 +01:00
github-actions[bot]
90461ffe37
Merge master into staging-next 2024-03-20 12:01:15 +00:00
Florian Klink
40e49b40ab
Merge pull request #296949 from NixOS/mycelium_service
nixos/mycelium: init
2024-03-20 11:50:46 +02:00
Pol Dellaiera
15541288f3
Merge pull request #297133 from trofi/etebase-server-fix-test
etebase-server: fix the eval on `null` `cfg.unixSocket`
2024-03-20 07:38:15 +01:00
K900
e240f8bde9 Merge remote-tracking branch 'origin/master' into staging-next 2024-03-20 09:27:30 +03:00
K900
e382906174
Merge pull request #295839 from peterhoeg/m/sddm_kwin
nixos/sddm: add support for kwin_wayland
2024-03-20 09:02:52 +03:00
Ameya Shenoy
99c0c32a49
usbguard: fix policy enums
The available policies for `InsertedDevicePolicy` and
`ImplicitPolicyTarget` differ from the defined policy enum. This change
is to prevent users from configuring incorrect policies for `usbguard`

Related `usbguard` documentation
https://usbguard.github.io/documentation/configuration.html

Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2024-03-20 08:41:21 +05:30
lassulus
b82a5ef764 nixos/mycelium: init 2024-03-20 03:56:58 +01:00
Peter Hoeg
404a2363d1 nixos/plasma6: use kwin with sddm 2024-03-19 21:14:46 +01:00
Peter Hoeg
8c642cd40a nixos/sddm: add support for kwin_wayland 2024-03-19 20:55:23 +01:00
Martin Weinelt
7762462405
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/flask-security-too/default.nix
2024-03-19 17:30:16 +01:00
Bobby Rong
2dcadb7087
Merge pull request #297072 from FedericoSchonborn/add-federicoschonborn
maintainers: Add federicoschonborn back again
2024-03-19 23:12:06 +08:00
ajs124
bdabdf0c16 nixos/gitlab: use workhorse package from option in path 2024-03-19 13:47:55 +01:00
ajs124
1bada61543 nixos/gitlab: switch from sidekiq to sidekiq-cluster 2024-03-19 13:47:55 +01:00
Sandro
4a9a5fab1c
Merge pull request #283501 from SuperSandro2000/hedgedoc-fix-tools-exec 2024-03-19 13:37:46 +01:00
Sergei Trofimovich
5a3bd05394 etebase-server: fix the eval on null cfg.unixSocket
Without the change the test eval fails as:

    $ nix build --no-link -f. etebase-server.tests
       error: cannot coerce null to a string: null
2024-03-19 08:59:57 +00:00
Federico Damián Schonborn
455b915be0
maintainers: Add federicoschonborn back again
Signed-off-by: Federico Damián Schonborn <federicoschonborn@disroot.org>
2024-03-18 21:51:28 -03:00
github-actions[bot]
7c0bd382c7
Merge master into staging-next 2024-03-19 00:02:09 +00:00
Lily Foster
e3c0bb4255
Merge pull request #294542 from Janik-Haag/garage
nixos/garage: add env-var wrapper for admin cli
2024-03-18 16:10:15 -07:00
Janik H.
9ec0e31f79
nixos/garage: add env-var wrapper for admin cli 2024-03-18 22:53:21 +01:00
maralorn
b6668ded0e
Merge pull request #296977 from slotThe/maintainer
Add slotThe as a maintainer
2024-03-18 22:43:38 +01:00
Tony Zorman
240c39ef2e nixos/xmonad: add slotThe as a maintainer 2024-03-18 20:27:15 +01:00
Martin Weinelt
00e2713c5b
Merge remote-tracking branch 'origin/master' into staging-next 2024-03-18 19:59:23 +01:00
Jon Seager
ffc736695c
Merge pull request #296937 from MinerSebas/scrutiny-collector-ordering 2024-03-18 17:16:40 +00:00
Martin Weinelt
03fcd060ff
Merge pull request #296921 from patka-123/engelsystem-cleanup
engelsystem: cleanup
2024-03-18 17:14:59 +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
K900
823897dde8 wireplumber: 0.4.17 -> 0.5.0 2024-03-18 18:57:05 +03:00
MinerSebas
9d384c350b nixos/scrutiny: Order scrutiny-collector after scrutiny 2024-03-18 16:30:51 +01:00
Sandro
124ec2d9d6
nixos/xserver: don't conflict pinentry package with DEs 2024-03-18 11:22:48 +01:00
github-actions[bot]
819a14ad05
Merge master into staging-next 2024-03-18 06:01:21 +00:00
github-actions[bot]
ac91cf83c1
Merge master into staging-next 2024-03-18 00:02:20 +00:00
Alex Martens
bdb6849a32 nixos/llama-cpp: fix binary path 2024-03-17 16:48:51 -07:00
Sandro
1f212fd6e6
Merge pull request #289025 from tcheronneau/issue-288907
nixos/tinyproxy: fix the quotes around the filter path
2024-03-17 23:33:42 +01:00
github-actions[bot]
100b3bb178
Merge master into staging-next 2024-03-17 18:00:54 +00:00
github-actions[bot]
c222aba0b8
Merge master into staging-next 2024-03-17 12:01:55 +00: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
Maximilian Bosch
6af7e814af
Merge pull request #292993 from wolfgangwalther/postgresql-refactor
postgresql: refactor and cleanup
2024-03-17 10:00:07 +00:00
Sandro
62748bdf42
Merge pull request #295891 from Stzx/pinentry-conflict
pinentry: fix DM option and user conflict
2024-03-17 08:50:13 +01:00
Bobby Rong
a4bca9aaef
nixos/pantheon: Add missing gala-daemon systemd services
Otherwise it doesn't autostart after user session managed by systemd.
2024-03-17 13:42:33 +08:00
Bobby Rong
0b41a85c95
nixos/display-managers: Don't force graphical-session.target activation for Pantheon
See Nixpkgs pull request 233981.
2024-03-17 13:42:33 +08:00
Bobby Rong
7522f97cbe
pantheon: Manage user session with systemd
This is now needed as gnome-session 46 drops `--builtin` option.
2024-03-17 13:41:51 +08:00
github-actions[bot]
2178d8d857
Merge master into staging-next 2024-03-17 00:02:17 +00: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
Jon Seager
bfa0fb2dbe
Merge pull request #296463 from MinerSebas/scrutiny-split 2024-03-16 19:41:40 +00:00
Marcus Ramberg
20eec34036 nixos/nimdow: Make package configurable, ensure nimdow can start a terminal in it's default config 2024-03-16 19:32:34 +01:00
github-actions[bot]
60fbf92c10
Merge master into staging-next 2024-03-16 18:01:00 +00:00
Pol Dellaiera
5ebdb3eda7
Merge pull request #296465 from Janik-Haag/networkmanager-ensure-profiles
nixos/networkmanager: ensure-profiles, make sure networkmanager is running
2024-03-16 18:46:12 +01:00
Janik H.
847a53742c
nixos/networkmanager: ensure-profiles, make sure networkmanager is running 2024-03-16 18:11:58 +01:00
MinerSebas
2210ac7764 nixos/scrutiny: Order scrutiny.service after influxdb2.service 2024-03-16 18:02:17 +01:00
MinerSebas
7d6917088c nixos/scrutiny: Dont enable influxdb when only using scrutiny-collector 2024-03-16 18:02:10 +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
Martin Weinelt
fe8d02e2bc
Merge pull request #296180 from mweinelt/pretix
pretix: init at 2024.2.0
2024-03-16 17:28:20 +01:00
Manuel Sanchez Pinar
a1301766eb
nixos/silverbullet: init module 2024-03-16 17:11:59 +01:00
MinerSebas
9e1fe5cddd nixos/restic-rest-server: Make the service socket activated 2024-03-16 17:07:55 +01:00
Martin Weinelt
b05a529fd6
nixos/pretix: init 2024-03-16 14:50:56 +01:00
Bobby Rong
3b48b3aaa9
Merge pull request #289062 from bobby285271/upd/mate
MATE 1.28
2024-03-16 21:38:24 +08:00
github-actions[bot]
9db4d84312
Merge master into staging-next 2024-03-16 12:01:19 +00:00
MinerSebas
7762c2233c nixos/restic-rest-server: Add additional service hardening 2024-03-16 08:18:50 +01:00
Pol Dellaiera
4285a30496
Merge pull request #295837 from abysssol/ollama-env-vars
nixos/ollama: add option to set environment variables
2024-03-16 08:02:55 +01:00
github-actions[bot]
7006358e6a
Merge master into staging-next 2024-03-16 00:02:02 +00:00
Pol Dellaiera
21456ee2a7
Merge pull request #296183 from laalsaas/etebase-server-fix
etebase-server: create required tmpdir
2024-03-15 22:08:15 +01:00
Wolfgang Walther
4b6bce5c31
postgresql: refactor to remove "this" argument
This was proposed by abbradar in #150801, but left out of the follow up PR
#221851 by Ma27 to reduce the size of the diff. Compared to the initial
proposal this includes the callPackage call in the recursion, which avoids
breaking the withJIT/withoutJIT helpers.

In terms of nixpkgs, this is a pure refactor, no derivations change. However,
this makes downstream expressions like the following possible:

  (postgresql.override { jitSupport = true; }).pkgs.postgis

This would have not worked before without passing another "this" argument,
which is error prone as can be seen in this example:

  https://github.com/PostgREST/postgrest/pull/3222/files
2024-03-15 21:11:09 +01:00
Wolfgang Walther
14b3ea2789
postgresql: refactor to pass jitSupport/llvm via scope instead of passthru
This makes it less error-prone to use the llvm package in extensions, because
it will always match the package used by the postgresql derivation itself.

Previously, you could've accidentally used llvm instead of postgresql.llvm
with a different result.
2024-03-15 21:11:09 +01:00