0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-09 12:05:50 +03:00
Commit graph

2462 commits

Author SHA1 Message Date
Artturi
27c1ec2ecf
Merge pull request #209816 from Artturin/deprecate-top-level-platform-aliases 2023-01-09 22:15:50 +02:00
Artturin
2eeb34c273 treewide: {build,host,target}Platform -> stdenv.{build,host,target}Platform 2023-01-09 21:13:22 +02:00
Ratchanan Srirattanamet
86b48684bb nixos/zoneminder: automatically update Nix store path in config DB
ZM has a configuration which defaults to a file in its installaton path.
In NixOS, this means a Nix store path is persisted into the database,
which will break when e.g. ZM is upgraded.

Workaround this by doing a regular expression-based string replacement
SQL command to replace this value. The regular expression should not
match if users has changed this config to somewhere else. It will match
even if ZM isn't upgraded, in which case it'll replace the value with
itself. As such, it should be safe to run this at every ZM startup.
2023-01-09 02:00:52 +07:00
Ratchanan Srirattanamet
8093c136a2 nixos/zoneminder: requires sysvsem PHP extension
This is used in ZoneMinder since some time ago [1]. Without this
extension, controling of playback (play, pause, fast forward, etc.) will
not work.

[1] https://github.com/ZoneMinder/zoneminder/issues/2261#issuecomment-433129559
2023-01-09 02:00:52 +07:00
Ratchanan Srirattanamet
4c64355fa3 nixos/zoneminder: also run zmupdate "freshen" on start
-f "freshen the configuration in the database", which will matter when
ZoneMinder adds a new configuration item [1]. Although it can also be
run without a new configuration item too; upstream's Debian postinst
code always run it on upgrade [2].

[1] e.g. https://forums.zoneminder.com/viewtopic.php?p=127220
[2] https://github.com/ZoneMinder/zoneminder/blob/master/distros/ubuntu2004/zoneminder.postinst#L45
2023-01-09 02:00:51 +07:00
K900
337d358300 nixos/n8n: disable telemetry by default
Originally intended to just speed up the tests, but probably a good idea in general.
2023-01-08 14:43:53 +03:00
amesgen
a429cecd3c
nixos/gitea: don't run gitea-dump on activation 2023-01-07 15:50:36 +01:00
Aneesh Agrawal
2fc8504223 nixos/etebase-server: Leverage $PATH
This simplifies the existing module
but also enables consumers to call `etebase-server`
from custom preStart commands (i.e. user creation commands).
2023-01-07 12:20:03 +01:00
pennae
9da5f12ecf modules: add mkPackageOptionMD
another transitional option factory, like mkAliasOptionModuleMD.
2023-01-05 02:33:13 +01:00
Alexandre Iooss
80d6a33ba6 nixos/nitter: wait for online network 2023-01-04 08:17:39 +01:00
Luke Granger-Brown
5a236902c3
Merge pull request #208723 from gador/paperless-ngx-add-poppler
paperless-ngx: fix build
2023-01-02 22:36:05 +00:00
Florian Brandes
b406baead8 nixos/paperless-ngx: reorder "after" keyword
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-01-02 16:25:34 +01:00
Florian Brandes
5b6881f4a0 nixos/paperless-ngx: fix startup order
The nixOS test failed sporadically with a timeout.
This is due to a race condition in the startup  of
the scheduler vs the task-queue.

The scheduler runs the migration scripts in "pre-start" and
celery isn't available, yet. The celery worker (paperless-task-queue)
was already started by systemd but was unable to connect
(as the migration scripts from "pre-start" still ran).

This fix adds the necessary "after" condition in the systemd
worker unit and adds a test to "paperless"

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-01-02 15:21:45 +01:00
Maximilian Bosch
0cd88dbc60
nixos/gitea: adapt configs for 1.18
Co-authored-by: Izorkin <izorkin@elven.pw>
2023-01-02 11:19:04 +01:00
Naïm Favier
c72f5995e4
Merge pull request #205933 from ncfavier/nix-auto-allocate-uids 2023-01-01 14:18:25 +01:00
Robert Hensing
834f0d660a lib.strings: isMoreCoercibleString -> isConvertibleWithToString
Yes, this function name is inconveniently long, but it is important
for the name to explicitly reference the function and not be mistaken
for the implicit string conversions, which only happen for a smaller
set of values.
2022-12-31 01:33:47 +01:00
Robert Hensing
fed5dc66f8 treewide: isCoercibleToString -> isMoreCoercibleToString
No change in behavior.
2022-12-31 01:03:24 +01:00
Artturi
a65df1ed0b
Merge pull request #193894 from amjoseph-nixpkgs/pr/nixos/arch-without-inferiors 2022-12-28 15:08:09 +02:00
Sandro
ad8ae1b208
Merge pull request #207754 from leona-ya/paperless-ngx/fix-module-1.10.2
fixes https://github.com/NixOS/nixpkgs/issues/207965
2022-12-28 01:05:49 +01:00
Michal Sojka
3708ee280b nixos/nix-daemon: fix typo 2022-12-26 20:45:13 +01:00
Leona Maroni
2d7b8ef56f
nixos/paperless: update for paperless-ngx 1.10.2 2022-12-25 23:07:44 +00:00
Lily Foster
7def7250be
nixos/nix-daemon: fix isCoercibleToString typo
It isn't exported at the top-level lib and needs to be qualified.
2022-12-24 13:34:06 -05:00
Sandro
2f9691a8af
nixos/nitter: fix enable option description
Whether to enable If enabled, start Nitter.. -> Whether to enable Nitter.
2022-12-23 00:11:49 +01:00
Joscha Loos
52e9ddd345 nixos/gollum: <add option for user and group options> 2022-12-19 13:57:13 +01:00
figsoda
6bb0dbf91f nixos: fix typos 2022-12-17 19:31:14 -05:00
Sandro
c338bf3244
Merge pull request #205712 from devusb/atuin-server 2022-12-16 22:38:35 +01:00
Morgan Helton
a935888d45 nixos/atuin: init module 2022-12-15 21:07:15 -06:00
Wanja Zaeske
e0839d420b address some of the points mentioned in #206260
Namely, after 87942da moved the `sssd.conf`, some modules weren't updated. This
removes the section that still points to the previous file location.
2022-12-15 17:31:22 +01:00
Matt Melling
e2b79f08bd gpsd: add listenany option 2022-12-14 18:37:15 +01:00
Naïm Favier
cf5ab0191d
nixos/nix-daemon: remove nixbld users if auto-allocating UIDs
https://nixos.org/manual/nix/unstable/command-ref/conf-file.html#conf-auto-allocate-uids
2022-12-13 17:16:30 +01:00
Naïm Favier
0ff3b35356 nixos/doc: fix some options 2022-12-08 17:52:52 +01:00
Bobby Rong
d44e752fba
Merge pull request #204474 from peperunas/libreddit
libreddit: Add package option to module
2022-12-08 19:49:11 +08:00
Daniel Nagy
ad866e565d
treewide: switch to port type for nixos modules 2022-12-08 00:00:00 +01:00
Giulio De Pasquale
34ddff29a4
libreddit: Add package option 2022-12-04 14:00:17 +01:00
Daniel Nagy
dbe8182e74
treewide: switch to port type for nixos modules 2022-12-01 22:30:00 +01:00
Felix Buehler
6de9ec5969 nixos/octoprint: add openFirewall option 2022-12-01 17:38:08 +01:00
Ryan Lahfa
40b71c3e93
nixos/redmine: add missing lib.mdDoc (#203952) 2022-12-01 17:37:16 +01:00
figsoda
5195ca2346
Merge pull request #203826 from figsoda/lint
nixos/*: apply some lints from statix and nil
2022-12-01 11:20:11 -05:00
Ryan Lahfa
9f6a1541c7
Merge pull request #198592 from winterqt/remove-dispatchsrht
sourcehut.dispatchsrht: remove
2022-12-01 16:18:07 +01:00
Ryan Lahfa
78ef5b8663
Merge pull request #171930 from felixsinger/module/redmine/add-component-configs
nixos/redmine: Rework module
2022-12-01 15:35:08 +01:00
Ryan Lahfa
cc11eea79d
Merge pull request #195671 from amarshall/rename-readonlystore
nixos: nix.readOnlyStore -> boot.readOnlyNixStore
2022-12-01 15:06:23 +01:00
Ryan Lahfa
1c5443f6cd
Merge pull request #203183 from teutat3s/fix/gitea-needs-gpg-in-path
gitea: needs gnupg in its path to sign commits
2022-12-01 14:29:34 +01:00
Andrew Marshall
c88944f025 nixos: nix.readOnlyStore -> boot.readOnlyNixStore
The placement of this option under `nix` was misleading, as it is not
configuration of the Nix daemon, but rather configuration of the NixOS
boot process and how it mounts the Nix store. As such, make it an option
of `boot` to clarify what it actually affects, and imply that it will
only take effect on a reboot.

Since it no longer has the context of nix, adjust the name to include
it.
2022-11-30 22:57:08 -05:00
Naïm Favier
e989ef9671
Merge pull request #203595 from ncfavier/registry-paths 2022-12-01 01:01:30 +01:00
figsoda
f97daa68bc nixos/gammu-smsd: remove unnecessary parentheses 2022-11-30 18:12:53 -05:00
Naïm Favier
bcb5f0decc
nixos/nix-daemon: allow registry paths to be... paths
Currently paths are handled by `types.package`, whose semantics are a
bit of a mess. In particular, it converts path values to derivations
using `toDerivation`, which will lead to problems when flake `outPath`s
become paths in https://github.com/NixOS/nix/pull/6530.

This change makes the "incompatible changes" section in the above PR
obsolete: `nix.registry.nixpkgs.flake = nixpkgs;` works as expected (the
flake is copied to the store).
2022-11-29 14:18:04 +01:00
Jonas Heinrich
11fdcb163e
Merge pull request #202541 from yayayayaka/gitlab-15.6.0
gitlab: 15.4.4 -> 15.6.0
2022-11-28 20:07:40 +01:00
teutat3s
6033e4e5ed
gitea: needs gnupg in its path to sign commits
See: https://docs.gitea.io/en-us/signing/#installing-and-generating-a-gpg-key-for-gitea
2022-11-27 15:01:32 +01:00
Martin Weinelt
2882a76651 nixos/pinnwand: convert to freeform type, drop reaper unit 2022-11-27 13:50:44 +01:00
M. A
6b3629a3a2 Revert "nixos/gitlab: Use Git 2.35.x to work around git bug"
This reverts commit f94d14899d.

git 2.35.x became unsupported by gitaly and makes the gitaly systemd
service fail.
2022-11-23 15:18:19 +00:00