Commit Graph

37861 Commits

Author SHA1 Message Date
sinanmohd
e8e5c07ad0 nixos/matrix-sliding-sync: rename, init dendrite 2023-12-30 00:25:57 +05:30
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
nikstur
5a9c0b7600
Merge pull request #267983 from nikstur/replace-simple-activation-2
nixos: replace activationScripts 2/x
2023-12-29 16:29:11 +01:00
Jonas Heinrich
67a799c40f nixos/ollama: init 2023-12-29 15:19:55 +01:00
K900
650f794064
Merge pull request #277544 from K900/stateversion-more-docs
nixos/installer: add a link to how to actually upgrade your system to the stateVersion note
2023-12-29 17:10:57 +03:00
K900
0403c41f61 nixos/installer: add a link to how to actually upgrade your system to the stateVersion note 2023-12-29 17:01:04 +03:00
Bobby Rong
75e6da4bce
Merge pull request #277153 from trofi/nixosTests.allDrivers.anbox-avoid-aliases
nixosTests.allDrivers.anbox: avoid use of aliases
2023-12-29 21:59:43 +08:00
nikstur
0ebd39b541 nixos/nix-channel: remove unused stringAfter 2023-12-29 03:41:45 +01:00
nikstur
3be357b2e7 nixos/binfmt: remove unused stringAfter 2023-12-29 03:41:45 +01:00
nikstur
d0014a531e nixos/wrappers: order service after sysusers service 2023-12-29 03:41:45 +01:00
nikstur
65ff518a0d nixos/ipa: replace activationScript
Replaced with a dedicated systemd service.
2023-12-29 03:41:45 +01:00
nikstur
8d3cf213db nixos/borgbackup: replace activationScript via tmpfiles 2023-12-29 03:41:45 +01:00
nikstur
1c22b64fc9 nixos/tests/nextcloud: replace activationScript
Replace with a seprate systemd service
2023-12-29 03:41:45 +01:00
nikstur
af87c19427 nixos/yggdrasil: replace activationScript
Replace with separate service because it cannot be moved into the
preStart of the yggdrasil service.
2023-12-29 03:22:27 +01:00
nikstur
9b29bc0010 nixos/trackpoint: replace activationScript
Replace with a separate systemd service ordered before sysinit.target
2023-12-29 03:22:25 +01:00
nikstur
36f2ab21ea nixos/tests/incron: replace activcationScript via tmpfiles 2023-12-29 03:21:36 +01:00
nikstur
80fa4731f9 nixos/amdgpu-pro: replacce activationScript via tmpfiles 2023-12-29 03:21:32 +01:00
nikstur
994df434ba nixos/ldap: replace activationScript
Replace with a dedicated systemd service.
2023-12-29 03:20:28 +01:00
nikstur
e96cd172fb nixos/logcheck: replace activationScript via tmpfiles 2023-12-29 03:16:03 +01:00
nikstur
682cb1d640 nixos/vmware-host: replace activationScript
Replace with a dedicated system servie ordered before the other VMWare
services.
2023-12-29 03:16:03 +01:00
Luflosi
c71cb77cd6
nixos/grub: use the correct ZFS version
When `config.boot.zfs.enableUnstable` is set to true, grub was built with the `zfs` package even though the rest of the system uses the `zfsUnstable` package.
The effect of this can only be seen when `zfs` and `zfsUnstable` actually differ (which is not currently the case), for example when overriding one of them locally.
2023-12-29 01:53:27 +01:00
Kira Bruneau
017bc47e74
Merge pull request #272943 from kira-bruneau/gamemode
gamemode: 1.7 -> 1.8.1
2023-12-28 19:10:56 -05:00
Jonas Heinrich
dd8c96379f nixos/nextcloud: Move options into now freeForm extraOptions 2023-12-29 01:04:46 +01:00
Martin Weinelt
fba845e36f
Merge pull request #277235 from adamcstephens/lxd-agent/path
nixos/lxd-agent: add system path for exec
2023-12-28 21:28:15 +01:00
Maximilian Bosch
1d17e304ac
Merge pull request #273443 from jpds/thanos-query-replica-label-string
nixos/thanos: Changed query.replica-labels to a list parameter
2023-12-28 20:48:31 +01:00
Adam Stephens
3f8b1d2d26
nixos/lxd-agent: add system path for exec 2023-12-28 14:27:05 -05:00
Luflosi
f88af99311
nixos/aerospike: use NixOS option instead of custom script
Since 2c5abd89c7 setting the option `boot.kernel.sysctl."net.core.rmem_max"` no longer has any downsides compared to what was previously used. Since 439350753e the same is also true for `boot.kernel.sysctl."net.core.wmem_max"`.
2023-12-28 17:41:59 +01:00
Luflosi
8cdabf9cf8
nixos/sysctl: cleanup
- Use `options = {` instead of repeating `options` for every option
- Change the description of "net.core.rmem_max" slightly to match the kernel documentation
2023-12-28 17:38:33 +01:00
Lassulus
14912a23d1
Merge pull request #223412 from Luflosi/test-boot-from-zfs
nixos/tests/installer: test /boot on ZFS
2023-12-28 16:25:16 +01:00
Lassulus
07c7d9361a
Merge pull request #272963 from Luflosi/nixos/tests/ft2-clone-cleanup
nixos/tests/ft2-clone: cleanup
2023-12-28 16:18:43 +01:00
Bobby Rong
af9ae66959
Merge pull request #277127 from bobby285271/upd/nixosTests.mate
nixosTests.mate: Extend the test
2023-12-28 21:51:33 +08:00
Thomas Gerbet
07a7e0980c
Merge pull request #277251 from trofi/nixosTests.tomcat-fix-eval
nixosTests.tomcat: add `lib` to imports to fix eval
2023-12-28 12:00:25 +01:00
Pierre Bourdon
b2f146867f
Merge pull request #276418 from katexochen/k9s/0-30-0
k9s: 0.29.1 -> 0.30.4
2023-12-28 10:42:04 +01:00
Sergei Trofimovich
15a672bf1f nixosTests.tomcat: add lib to imports to fix eval
Without the change eval fails as:

    $ nix build --no-link -f. nixosTests.tomcat

        error: undefined variable 'lib'
2023-12-28 06:50:22 +00:00
Robert Hensing
ddd6c029b5
Merge pull request #276986 from trofi/dockerTools.tests.docker-tools-no-aliases
dockerTools.tests.docker-tools: user `runCommand` instead of `runComm…
2023-12-28 00:50:45 +01:00
Sergei Trofimovich
64395b676f nixosTests.allDrivers.anbox: avoid use of aliases
Before the change eval of a test failed with disabled aliases as:

    $ nix build -f. nixosTests.allDrivers.anbox --arg config '{ allowAliases = false; }'
    ...
    error: attribute 'linuxPackages_5_15' missing
2023-12-27 18:36:19 +00:00
Stefan Majewsky
9ecbdfb5bd portunus: 1.1.0 -> 2.0.0
Changelog: <https://github.com/majewsky/portunus/releases/tag/v2.0.0>
2023-12-27 18:30:32 +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
Bobby Rong
4a31c957c1
nixosTests.mate: Extend the test
It is always nice to have some OCR tests and a coredump check.
2023-12-27 23:01:58 +08:00
Kira Bruneau
02d4aa2306 nixos/gamemode: format with nixpkgs-fmt 2023-12-27 08:55:23 -05:00
Yt
bd5ff67266
Merge pull request #261789 from onny/rspamd-trainer
nixos/rspamd-trainer: init; rspamd-trainer: init at unstable-2023-11-27
2023-12-27 11:28:42 +00:00
adisbladis
14f87e678a
Merge pull request #277074 from adisbladis/maintainers-treewide-various-adisbladis-remove
maintainers: Remove adisbladis as maintainer from various packages
2023-12-28 00:28:00 +13:00
Yt
aae26351e7
Merge pull request #276542 from scvalex/livebook-0_12_0
livebook: 0.11.3 -> 0.12.0
2023-12-27 11:22:37 +00:00
adisbladis
c24958f4c7 maintainers: Remove adisbladis as maintainer from various packages
These are a handful of packages I no longer use or/and have lost interest in.
2023-12-27 23:13:50 +13:00
Alex James
9f32ad8ff8
nixos/transmission: add webHome option 2023-12-27 04:00:43 -06:00
Jonas Heinrich
80d88736da nixos/rspamd-trainer: init; rspamd-trainer: init at unstable-2023-11-27 2023-12-27 10:35:53 +01:00
nikstur
c9569af3e0
Merge pull request #271326 from philiptaron/shutdown.target
treewide: depend on `shutdown.target` if `DefaultDependencies=no` in almost every case
2023-12-27 08:33:26 +01:00
Yt
56b8564a7d
Merge pull request #276525 from scvalex/livebook-configurable-package
livebook: configurable package and extraPackages
2023-12-27 07:30:25 +00:00
Hugh O'Brien
eff6b94cdd
nixos/invidious: Fix user message on 24.05 changes 2023-12-26 20:44:04 -05:00
Martin Weinelt
d4c4e0269d
Merge pull request #274460 from mweinelt/kea-ipc-runtimedir
nixos/kea: return to merged runtime directory; preserve runtime directories
2023-12-27 02:08:14 +01:00
Sergei Trofimovich
4bb39bbc65 dockerTools.tests.docker-tools: user runCommand instead of runCommandNoCC alias
Noticed when evaluated tests without aliases enabled.
2023-12-26 22:42:38 +00:00
Martin Weinelt
2f8686ce17
nixos/frigate: restart the service on failure
Closes: #266837
2023-12-26 22:33:19 +01:00
Dee Anzorge
b4b9b08426
nixos/prometheus-exporters/kea: run under same user/group as kea
This fixes access to the kea unix sockets, after enabling
RuntimeDirectoryPreserve on the kea units.

https://github.com/NixOS/nixpkgs/pull/274460#issuecomment-1869702893
2023-12-26 21:42:58 +01:00
Nick Cao
5cfba53fc6
Merge pull request #258812 from Izorkin/fix-noxlibs
nixos/no-x-libs: fix build packages
2023-12-26 13:09:23 -05:00
Felix Bühler
d2e4e09de4
Merge pull request #276552 from r-ryantm/auto-update/freshrss
freshrss: 1.22.1 -> 1.23.0
2023-12-26 18:19:53 +01:00
Martin Weinelt
0392a07511
nixos/lib/make-disk-image: Create build products metadata
For hydra to expose built images for direct download, listing the
relevant files in nix-support/hydra-build-products is required.
2023-12-26 16:02:51 +01:00
Maciej Krüger
51e1d86766
Merge pull request #225946 from boozedog/boozedog/pgadmin-package
nixos/pgadmin: add package option
2023-12-26 12:38:50 +01:00
boozedog
0b522b2429
nixos/pgadmin: add package option 2023-12-26 11:56:25 +01:00
Sandro Jäckel
64b6b5e787
nixos/portunus: make sure the cookies are only send over https if it is enabled 2023-12-26 00:27:32 +01:00
Linus Heckemann
5494aa21c7
Merge pull request #273308 from Stunkymonkey/install-device-fix-mdadm
nixos/installation-device: remove warning about mdadm
2023-12-25 23:41:10 +01:00
Nick Cao
7d54909829
Merge pull request #253263 from SuperSandro2000/nox-intel-vaapi-driver
nixos/no-x-libs: add intel-vaapi-driver
2023-12-25 17:16:15 -05:00
Alexandru Scvortov
0ae9c34391 livebook: configurable package and extraPackages
Also fix examples to not include a semicolon in the .env file.
2023-12-25 21:47:14 +00:00
Lin Jian
a5ac2d8dc2
kanata: mention breaking changes of v1.5.0 2023-12-26 04:38:25 +08:00
Izorkin
2e14d8ba72
nixos/no-x-libs: build qtbase without qt translation 2023-12-25 23:31:25 +03:00
Maciej Krüger
d5ba1d218a
Merge pull request #276377 from mkg20001/cinnamon-fix-gpaste
nixos/gpaste: also add to cinnamon session path + fix sessionPath
2023-12-25 16:55:54 +01:00
Adam C. Stephens
c52e9de9ae
Merge pull request #275895 from adamcstephens/lxcfs/5
lxcfs: 4.0.12 -> 5.0.4
2023-12-25 08:54:08 -05:00
Felix Bühler
0c7f041600
Merge pull request #276670 from etu/freshrss-stop-running-updater-on-system-activation
nixos/freshrss: Stop running the updater service on system activation
2023-12-25 11:37:32 +01:00
Weijia Wang
e520c76913
Merge pull request #275831 from foo-dogsquared/nixos-guix-socket-activation-fix
nixos/guix: fix systemd socket unit
2023-12-25 10:54:30 +01:00
Elis Hirwing
0c3619835b
nixos/freshrss: Stop running the updater service on system activation 2023-12-25 09:57:47 +01:00
Midnight Veil
ed1a16e886 munin: fix missing Date::Parse module error & make test fail w/o a fix
Upstream change: https://github.com/munin-monitoring/munin/pull/1502
2023-12-25 09:13:32 +01:00
Felix Buehler
6fc02c6c6f nixos/freshrss: fix test http-auth 2023-12-25 01:01:20 +01:00
Pierre Bourdon
64938f6e07
Merge pull request #254995 from SuperSandro2000/wrappers
nixos/wrapper: add basename of the wrapped program to the wrappers name to easily identify it
2023-12-24 23:59:16 +01:00
Alexandru Scvortov
da08af643a livebook: 0.11.3 -> 0.12.0 2023-12-24 21:04:45 +00:00
Jörg Thalheim
98e792ad9d
Merge pull request #276524 from SuperSandro2000/harmonia-restart
nixos/harmonia: restart systemd service
2023-12-24 21:15:49 +01:00
Sandro Jäckel
35ca689119
nixos/wrapper: add basename of the wrapped program to the wrappers name to easily identify it
Also fix the comment with test instructions
2023-12-24 20:36:12 +01:00
Sandro Jäckel
f029a8a10d
nixos/harmonia: restart systemd service 2023-12-24 19:54:11 +01:00
Atemu
b920969079
Merge pull request #258722 from CajuM/waydroid-mod
nixos/waydroid: Replace requirement for ASHMEM with MEMFD_CREATE
2023-12-24 19:52:36 +01:00
Doron Behar
067338523e
Merge pull request #275281 from eliandoran/feature/mympd-service
nixos/mympd: init
2023-12-24 18:43:03 +00:00
7c6f434c
79fee6027b
Merge pull request #276318 from someplaceguy/u/fix-atop-start
nixos/atop: remove leftover `*.new` files before starting conversion
2023-12-24 18:18:56 +00:00
sternenseemann
4cf470c97c nixos/mandoc: don't create leading double slashes in MANPATH 2023-12-24 18:44:36 +01:00
aleksana
ad235e5072 nixos/mandoc: add man.conf settings option 2023-12-24 18:44:36 +01:00
aleksana
4f3e29f3a3 nixos/mandoc: use MANPATH environment variable 2023-12-24 18:44:36 +01:00
aleksana
ab222895b1 nixos/mandoc: fix paths don't exist failure 2023-12-24 18:44:36 +01:00
Nudelsalat
f3fb9a9134 nixos/tests/prometheus-ping-exporter: init 2023-12-24 18:11:31 +01:00
Nudelsalat
5d85f0eee8 nixos/prometheus-ping-exporter: init 2023-12-24 18:11:25 +01:00
nicoo
9b8812794b nixosTests.ssh-agent-auth: Test both sudo and sudo-rs 2023-12-24 16:04:11 +00:00
nicoo
7e70c08470 nixosTests.ssh-agent-auth: init 2023-12-24 16:00:22 +00:00
Mihai-Drosi Câju
800af4240b nixos/waydroid: Replace requirement for ASHMEM with MEMFD_CREATE
* fixes #250302
* ASHMEM was removed in Linux 5.18 and waydroid can use MEMFD instead.
  MEMFD is enabled by default in 4.18 and later kernels while we
  already require this version for namespace support.
2023-12-24 16:04:20 +02:00
nicoo
1e9e8a0db0 nixos/sudo-rs: Removed unused let-binding
Leftover from bcc2d1238a
2023-12-24 13:58:08 +00:00
Maciej Krüger
6698e96026
nixos/gpaste: also add to cinnamon session path - fixes #276028
This fixes gpaste-reloaded applet for cinnamon,
which requires gpaste's typelib to be accessible
2023-12-24 14:52:20 +01:00
phaer
25e5dfd142 cachix-watch-store: allow to set a signing key 2023-12-24 10:25:32 +00:00
hellodword
26c2ed1c95
nixos/tailscale: fix after and wants 2023-12-24 09:44:46 +00:00
Paul Meyer
5fc84cf30a k9s: 0.29.1 -> 0.30.0 2023-12-24 09:17:56 +01:00
Jacob Moody
c16ffa0a12 drawterm: add nixos tests 2023-12-23 22:53:49 -06:00
Thiago Kenji Okada
7480c980f7
Merge pull request #276287 from gepbird/opentabletdriver-bump
opentabletdriver: 0.6.3.0 -> 0.6.4.0
2023-12-23 23:01:42 +00:00
Gutyina Gergő
77a17f4be6 opentabletdriver: 0.6.3.0 -> 0.6.4.0
Co-authored-by: Thiago Kenji Okada <thiagokokada@gmail.com>
2023-12-23 21:16:43 +00:00
nikstur
133fcea523
Merge pull request #275283 from jmbaur/repart-amend-fix-cross
image/repart: build image with buildPackages
2023-12-23 21:45:59 +01:00
Nick Cao
a83ee8f514
Merge pull request #255227 from tomfitzhenry/postfix-harden
nixos/postfix: add systemd hardening directives
2023-12-23 10:36:18 -05:00
someplaceguy
8164b71bf9 nixos/atop: remove leftover *.new files before starting conversion
The pre-start script was actually trying to convert these leftover
`*.new` and even `*.new.new` files, and failing to do so because the
`*.new.new` files were being overwritten and removed before they were
converted.
2023-12-23 14:37:29 +00:00
Mario Rodas
2ba8c30b4e
Merge pull request #252790 from anthonyroussel/gns3-nixos-module
nixos/gns3-server: init
2023-12-23 09:27:39 -05:00