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
Silas Schöffel
19b2b8046d
nixos/invidious-router: init module
2024-03-29 19:00:43 +01: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 Schütz
078994248a
nixos/mollysocket: init
2024-03-28 09:55:10 -07: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
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
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
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
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
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
Alex Martens
bdb6849a32
nixos/llama-cpp: fix binary path
2024-03-17 16:48:51 -07: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
laalsaas
1d4c8cb0ff
etebase-server: create required tmpdir
2024-03-15 16:52:21 +01:00
abysssol
b5e7a05bb7
nixos/ollama: add option to set environment variables
2024-03-14 04:21:36 -04:00
Yt
0340f82b24
Merge pull request #292873 from ghthor/tabby
...
Tabby: bump 0.7.0 -> 0.8.3 and add systemd service
2024-03-07 21:51:06 +00:00
Will Owens
d9188fc882
nixos/tabby: init module
...
- Enable tabby to run as a systemd service
- Document standard tabby configuration
2024-03-07 06:29:12 -05:00
Sandro
911b4015d2
Merge pull request #283319 from phaer/etebase-server
...
etebase: fix runtime crash due to wrong pydantic..
2024-03-05 21:37:21 +01:00
Adam C. Stephens
a51a27a78b
Merge pull request #291554 from jnsgruk/homepage-config
...
nixos/homepage-dashboard: support structured config
2024-03-05 09:48:19 -05:00
Jon Seager
c0330351a0
nixos/homepage-dashboard: support structured config
2024-03-05 14:38:52 +00:00
Pol Dellaiera
f480f9f47e
Merge pull request #292823 from SuperSandro2000/paperless-too-many-open-files
...
nixos/paperless: fix too many open files
2024-03-02 23:51:11 +01:00
Sandro Jäckel
da1ccb628f
nixos/paperless: fix too many open files
...
paperless-web-start[658743]: kombu.exceptions.OperationalError: [Errno 24] Too many open files: '/nix/store/k6h0pihpi3ih31zjk6ragqcp4mjz4pjs-python3.11-concurrent-log-handler-0.9.24/lib/python3.11/site-packages/concurrent_log_handler-0.9.24.dist-info/entry_points.txt'
2024-03-02 17:52:18 +01:00
phaer
fa34964ef1
etebase: make proper package...
...
and remove the ad-hoc python environment.
Also remove daphne and use uvicorn just as upstream does
2024-03-01 22:55:27 +01:00
phaer
720a1eb5e7
modules/etebase-server: add package, pythonPackage
...
options, to keep the packaeges configurable
2024-03-01 14:32:46 +01:00
Sandro
51e92056db
Merge pull request #283660 from ocfox/transfer
2024-03-01 13:36:03 +01:00
Christina Sørensen
d31cbb78ca
nixos/dockerRegistry: add openFirewall
option
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-03-01 09:56:03 +01:00
Leona Maroni
3302864e6e
Merge pull request #292030 from Flakebi/paperless
...
paperless: fix uploading files via local folder
2024-02-29 08:10:28 +01:00
abysssol
8720397720
nixos/ollama: replace incorrect use of overrideAttrs
...
The bug prevents nixos from compiling
if the ollama service is built with cuda enabled.
2024-02-28 17:15:30 -05:00
Flakebi
9db96ee839
paperless: fix uploading files via local folder
...
The consumer service needs to be in the same namespace as the
task-queue, otherwise they cannot see each others temporary files.
Same as for web uploading.
See also the discussion here:
https://github.com/paperless-ngx/paperless-ngx/discussions/5606
2024-02-28 09:14:48 +01:00
abysssol
5c143f0366
nixos/ollama: override kernelPackages with nvidia driver
...
Instead of setting linuxPackages to a singleton set with nvidia_x11,
override the system's kernelPackages with the nvidia driver.
This is more semantically correct, though doesn't change any behavior.
2024-02-27 18:51:54 -05:00
abysssol
b8d8c1f207
nixos/ollama: add option for hardware acceleration
2024-02-25 15:57:58 -05:00
0x4A6F
97bca14e41
Merge pull request #290719 from martinetd/atuin
...
atuin: small fixes
2024-02-24 23:05:25 +01:00
Dominique Martinet
85ee3198c7
atuin: Allow setting database.uri to null
...
When a password is required to connect to postgres using
services.atuin.database.uri directly would make the password be written
in the nix store, which is suboptimal.
Instead we can have the password in a file accessible only to root by
having systemd read an EnvironmentFile directly, but we must ensure that
this file has priority over the environment set.
Not setting the variable in this case is more straightforward.
2024-02-23 07:35:21 +09:00
John Garcia
7427bec3a7
nixos/atuin: add services.atuin.package option
2024-02-18 22:19:41 +00:00
Sandro
cf59adeb8c
Merge pull request #271324 from nessdoor/sourcehut/tests
...
nixosTests.sourcehut: implement proper integration testing
2024-02-17 20:58:22 +01:00
Felix Bühler
60abd7c1f9
Merge pull request #288138 from ambroisie/tandoor-recipes-manage-script
...
nixos/tandoor-recipes: improve manage script
2024-02-15 20:26:03 +01:00
Pol Dellaiera
2d627a2a70
Merge pull request #277220 from nu-nu-ko/nixos-jellyfin-dirs
...
nixos/jellyfin: add directory options
2024-02-12 14:06:46 +01:00
Bruno BELANYI
5e43c70867
nixos/tandoor-recipes: improve manage script
...
This is mirroring the way the manage script is created in the paperless
module, which is more robust to special characters.
2024-02-11 21:21:02 +00:00
emilylange
ca3cfc841a
nixos/gitea: warn when using services.gitea
with forgejo
...
since this is no longer supported and we have a dedicated module for
forgejo for quite some time now.
Such warning is, however, becoming more and more important, since
forgejo is no longer a soft-fork of gitea, but rather a hard-fork.
And as such, it will slowly but surely no longer be a drop-in
replacement.
Additionally, I hope that this warning will prevent users from
reporting issues with forgejo to nixos/gitea maintainers.
The accompanying forgejo.md, from which the manual section is created,
will be updated over the next few weeks when forgejo officially
publishes their blog post about all this and the way forward, so we can
link to it.
2024-02-10 20:47:04 +01:00
tomberek
6e60c8526b
Merge pull request #286993 from christoph-heiss/srht-updates-next-round
...
sourcehut: update all components
2024-02-10 11:52:53 -05:00
Valentin Gagarin
b1f6e08177
doc: add link to Nix manual
2024-02-09 10:47:08 +01:00
Oliver Schmidt
13ba002dd0
nixos/services.gitlab: loosen the coupling between gitlab and postgres/ redis to avoid restarts and races
...
Gitlab stays running at redis and postgresql restarts as if these
components were on a different host anyways. Handling reconnetctions is
part of the application logic.
Co-authored-by: Kim Lindberger <kim.lindberger@gmail.com>
for formatting fixes and test failure debugging.
2024-02-07 18:19:18 +01:00
Christoph Heiss
62854c0103
sourcehut: add myself as maintainer
...
I worked already a lot on this stuff, esp. modules - so it just makes
sense.
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-02-07 14:58:12 +01:00
nu-nu-ko
ccf92aad9b
nixos/jellyfin: add directory options
2024-02-06 11:07:33 +13:00
Weijia Wang
7ece427021
Merge pull request #279268 from superherointj/etcd-fix-firewall-startup
...
nixos/etcd: fixes etcd failing to start at boot and add openFirewall option
2024-02-05 00:37:09 +01:00
Atemu
f38bca1ca5
Merge pull request #279677 from leona-ya/paperless-nltk
...
nixos/paperless: use nltk_data package as NLTK data source
2024-02-01 16:59:28 +01:00