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
Bruno BELANYI
21a59137a6
nixos/podgrab: add user/group options
2024-03-21 19:16:20 +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
Leona Maroni
6300f478e9
nixos/paperless: use nltk_data package as NLTK data source
...
nixos
2024-02-01 16:53:34 +01:00
Thomas Gerbet
898c3061fe
Merge pull request #279253 from risicle/ris-packagekit-1.2.8
...
packagekit: 1.2.5.1pre -> 1.2.8
2024-01-30 23:37:46 +01:00
Robert Scott
19b3ab3fe4
packagekit: use test_nop backend by default
...
nix backend is broken and this is causing the nixos test to
fail
2024-01-30 20:41:15 +00:00
r-vdp
9f2a705f7f
nix-optimise: only create timer unit if needed
2024-01-30 19:09:32 +01:00
Luke Granger-Brown
23310f467a
Merge pull request #284980 from patka-123/update-paperless-service-example-doc
...
nixos/paperless: update extraConfig to settings in service docs.
2024-01-30 12:53:31 +00:00
Patka
3d028d17c9
nixos/paperless: update extraConfig to settings in service docs
...
Signed-off-by: Patka <patka@patka.dev>
2024-01-30 11:26:04 +01:00
Bernardo Meurer
392b32b2af
nixos/moonraker: fix update_manager.enable_system_updates being [bool] and not bool
2024-01-29 11:31:12 -05:00
ocfox
01e674ba90
nixos/transfer-sh: init
...
Co-authored-by: Pablo Ovelleiro Corral <mail@pablo.tools>
2024-01-29 00:44:35 +08:00
Sandro
8219e2c1bc
Merge pull request #279050 from SuperSandro2000/portunus-seedsettings
...
nixos/portunus: add seedSettings option
2024-01-27 16:08:41 +01:00
superherointj
cbe8e0c980
nixos/etcd: fix etcd category from misc to databases
2024-01-26 16:40:11 -03:00
superherointj
29d18e8f6f
nixos/etcd: fixes etcd failing to start at boot and add openFirewall option
...
Fixes etcd failing to start at boot for network and firewall not being ready and etcd peers being unavailable because of network/firewall
* configure etcd systemd unit to:
- delay etcd start-up until network and firewall are ready
- restart on failure and be always on
* add openFirewall option
The official etcd ports are 2379 for client requests and 2380 for peer communication:
https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.txt
https://etcd.io/docs/v3.4/op-guide/configuration/
2024-01-26 16:40:11 -03:00
Lassulus
da25b2382d
Merge pull request #280373 from h7x4/treewide-use-new-tmpfiles-api
...
treewide: use new tmpfiles API
2024-01-26 10:47:18 +01:00
h7x4
f5d513c573
treewide: use new tmpfiles api
2024-01-24 05:13:17 +01:00
nikstur
3ea482163b
Merge pull request #282320 from helsinki-systems/fix/nix-gc-unit-type
...
nixos/nix-gc: Minor module fixups
2024-01-22 17:49:18 +01:00
Bernardo Meurer
28ad748d40
Merge pull request #281845 from lovesegfault/fix-moonraker-warn
2024-01-21 14:09:00 -05:00
Jonas Heinrich
58fcc2db9d
Merge pull request #282339 from marcusramberg/marcus/ollama_listen
...
nixos/ollama: Add listenAddress
2024-01-21 12:57:53 +01:00
Doron Behar
49e5ffd3a9
Merge pull request #235847 from doronbehar/nixos/taskserver-permissions
...
nixos/taskserver: Enable cfg.group to read clients' certificates
2024-01-21 09:32:07 +02:00
Marcus Ramberg
8d956b1725
nixos/ollama: Add listenAddress
2024-01-21 00:27:07 +01:00
Janne Heß
e04524a931
nixos/nix-gc: Use singleLineStr where possible
2024-01-20 13:16:39 +01:00
Janne Heß
2315174384
nixos/nix-gc: Add Type so systemctl waits properly
2024-01-20 13:15:20 +01:00
Janne Heß
fd8727163d
nixos/nix-gc: Drop with lib;
2024-01-20 13:14:57 +01:00
Lin Jian
9e98fce0c5
Merge pull request #281654 from SuperSandro2000/portunus-restart
...
nixos/portunus: restart on failure
2024-01-20 09:17:18 +08:00
Peder Bergebakken Sundt
31ff0dfe49
Merge pull request #273024 from melvyn2/patch-1
...
nixos/sshServe: use bash as default shell for nix-ssh user
2024-01-19 22:26:44 +01:00
Sandro
5897d4eb0d
nixos/portunus: remove superfluous explicit out
...
Co-authored-by: Lin Jian <me@linj.tech>
2024-01-19 11:58:07 +01:00
Sandro Jäckel
fd199bdc5b
nixos/portunus: add seedSettings option
2024-01-19 11:57:01 +01:00
Jade Lovelace
fe474ed61a
nixos: fix remaining services for network-online dep fix
2024-01-19 00:11:34 -08:00
Jade Lovelace
6c5ab28fce
nixos: fix a bunch of services missing dep on network-online.target
...
This was done by generating a truly hilarious configuration:
rg 'services\.[^.]+\.enable\t' opts-tags | cut -f1 > allonconfig.nix
The following were not tested due to other evaluation errors. They
should probably be manually audited.
services.amule
services.castopod
services.ceph
services.chatgpt-retrieval-plugin
services.clamsmtp
services.clight
services.dante
services.dex
services.discourse
services.dwm-status
services.engelsystem
services.foundationdb
services.frigate
services.frp
services.grocy
services.guacamole-client
services.hedgedoc
services.home-assistant
services.honk
services.imaginary
services.jitsi-meet
services.kerberos_server
services.limesurvey
services.mastodon
services.mediawiki
services.mobilizon
services.moodle
services.mosquitto
services.nextcloud
services.nullmailer
services.patroni
services.pfix-srsd
services.pgpkeyserver-lite
services.postfixadmin
services.roundcube
services.schleuder
services.self-deploy
services.slskd
services.spacecookie
services.statsd
services.step-ca
services.sympa
services.tsmBackup
services.vdirsyncer
services.vikunja
services.yandex-disk
services.zabbixWeb
2024-01-19 00:11:34 -08:00
Jade Lovelace
80edf319fe
nixos/paperless: fix network-online.target dependencies
2024-01-18 16:28:41 -08:00
Bernardo Meurer
a09b1c12fb
nixos/moonraker: don't warn about harmless update_manager settings
...
The only setting we care to warn about is `enable_system_updates`,
there's no reason to issue warnings when folks set, for example,
`enable_auto_refresh`.
2024-01-18 13:52:50 -05:00
Sandro Jäckel
f154807e93
nixos/portunus: restart on failure
2024-01-18 01:01:30 +01:00
Doron Behar
ead172880f
nixos/taskserver: Enable cfg.group to read clients' certificates
...
This enables the services.taskserver.group to read the certificates
generated by the taskserver.service' preStart script.
2024-01-16 13:09:41 +02:00
Yt
827bd96b2b
Merge pull request #280005 from digtail/2024-01-09-ntfy-sh-dynamic-user
...
nixos/ntfy-sh: clean up DynamicUser workarounds
2024-01-12 23:39:25 +01:00
Yureka
1a1c53c271
Revert "nixos/gitlab: Add CI database connection for >=15.9" ( #280395 )
2024-01-12 02:03:23 +01:00
Yureka
29bc446b5c
Revert "nixos/gitlab: fix database config when no passwordfile is defined" ( #280392 )
2024-01-12 02:00:49 +01:00
Tom Siewert
890ffaa1ae
nixos/gitlab: fix database config when no passwordfile is defined
...
In commit 41ca9c1, the database config got an additional config entry
for a separate CI database connection [1]. Unfortunately, the main connection
must always be the first entry. The fix for this was only applied when
databasePasswordFile has been set.
This commit fixes the order of the config for deployments without a databasePasswordFile.
[1] https://docs.gitlab.com/ee/update/deprecations.html#single-database-connection-is-deprecated
2024-01-10 14:35:57 +01:00
digital
39fd0c3fe3
nixos/ntfy-sh: clean up DynamicUser workarounds
...
this commit removes the static assignments for the ntfy-sh user and
group. furthermore, it removes some tmpfiles.d rules which where
initially put in place by https://github.com/NixOS/nixpkgs/pull/234811 .
these are however not required, as ntfy-sh will automatically create the
required files and systemd automatically handles the migration process.
A nixosTest is added to demonstrate that the migration is working
reliably.
This also fixes an issue with where systemd would sometimes not start
ntfy-sh. The tmpfiles rules in combination with impermanence caused `/
var/lib/ntfy-sh` to be a directory when it should have been a symlink.
2024-01-10 00:15:50 +01:00
Tom Siewert
838a2b54ed
nixos/gitlab: Add CI database connection for >=15.9
...
Starting with GitLab 15.9, single connections were deprecated [1] and
will be removed in GitLab 17.0.
[1] https://docs.gitlab.com/ee/update/deprecations.html#single-database-connection-is-deprecated
2024-01-08 18:14:06 +01:00
Alex Martens
d8bb8a6417
nixos/llama-cpp: init
2024-01-06 10:42:55 -08:00
nu-nu-ko
e1a9d1bfcb
maintainers: add nu-nu-ko
2024-01-05 12:47:15 +13:00
Sandro Jäckel
7c1b4b22f9
nixos/paperless: convert extraConfig to freeform type
...
Co-authored-by: Atemu <atemu.main@gmail.com>
2024-01-04 00:04:38 +01:00
Tomas Antonio Lopez
147cc4061e
nixos/sourcehut: ensure that the repos directory exists
...
Fixes a bug where, if the OpenSSH server starts before the first initialization
of the git service, the SSH service fails to find the corresponding bind mount
and terminates with a 226/NAMESPACE error.
2024-01-04 00:00:32 +01:00
Weijia Wang
3526f2ffec
Merge pull request #274192 from foo-dogsquared/nixos-guix-add-guix-home-support
...
nixos/guix: add Guix home support
2024-01-03 01:28:11 +01:00
Mario Rodas
7f0a64976d
Merge pull request #270286 from ajs124/ruby_ossl11_cleanup
...
ruby_2_7: remove
2024-01-02 18:37:18 -05:00
Nick Cao
f6a028db30
Merge pull request #276808 from SuperSandro2000/portunus-cookie-secure
...
nixos/portunus: make sure the cookies are only send over https if it …
2024-01-02 16:54:37 -05:00
ajs124
02ad3159b0
ruby_2_7: remove
2024-01-02 15:30:06 +01:00
Jonas Heinrich
b06d3c3aa6
Merge pull request #277442 from onny/ollama
...
nixos/ollama: init
2023-12-29 23:00:10 +01:00
Jonas Heinrich
67a799c40f
nixos/ollama: init
2023-12-29 15:19:55 +01: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
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
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
Gabriel Arazas
d3e246f9fa
nixos/guix: fix systemd socket unit
2023-12-21 22:18:56 +08:00
Raghav Sood
7d97d9ebd1
Merge pull request #275439 from RaghavSood/nitter/guest-accounts
...
nitter: unstable-2023-10-31 -> unstable-2023-12-03 (guest accounts support)
2023-12-21 14:03:35 +08:00
Maximilian Bosch
571f06ad0d
Merge pull request #270260 from SuperSandro2000/gitea-camo-hmac
...
nixos/gitea: add hmacKey support
2023-12-20 19:02:20 +01:00
Gabriel Arazas
b7ece537bb
nixos/guix: fix conditional linking of profiles
2023-12-20 22:04:01 +08:00
Raghav Sood
2595f503cd
nitter: add guest account support to systemd service
2023-12-20 00:01:20 +08:00
K900
e42d80fa6d
Merge pull request #274818 from eyJhb/moonraker-new-config-filemanager
...
moonraker: add setting file_manager.check_klipper_config_path
2023-12-19 17:36:54 +03:00