Commit Graph

18692 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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