Víctor Martínez
bbb542ea66
nixos/ollama: add missing nvidia device group name ( #331125 )
...
Fixes : #331069
2024-07-30 19:03:08 +02:00
Jörg Thalheim
5356420466
treewide: remove unused with statements from maintainer lists
...
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
-e 's!with lib.maintainers; \[ *\];![ ];!' \
-e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Vladimír Čunát
1e9b3c1af1
nixos/speechd: avoid by default on headless systems
...
Incidentally this also fixes tests like nixosTests.installer.simple
/cc PR #329658
2024-07-28 12:16:12 +02:00
Julien Moutinho
db44a65a61
nixos/radicle: fix support for encrypted privateKeyFile
2024-07-27 01:48:51 +02:00
Jörg Thalheim
cd8166ed1c
Merge pull request #329731 from ju1m/radicle
...
nixos/radicle: fix support of absolute file paths for SSH keys
2024-07-26 20:25:23 +02:00
Aleksana
19276533a7
Merge pull request #329968 from carbolymer/jackett-configurable-port
...
nixos/jackett: add configurable port
2024-07-26 11:23:05 +08:00
Aleksana
f6dda3bfc8
Merge pull request #330021 from ju1m/radicle-fix-node-listenAddress
...
nixos/radicle: fix node.listenAddress to support both IPv4 and IPv6
2024-07-26 11:18:10 +08:00
Julien Moutinho
d8401bc577
nixos/radicle: add a settings example
2024-07-26 01:15:03 +02:00
Julien Moutinho
5f335cfb8f
nixos/radicle: fix node.listenAddress to support both IPv4 and IPv6
2024-07-25 23:46:16 +02:00
Mateusz Galazyn
a0906cbd16
nixos/jackett: add configurable port
2024-07-25 20:33:39 +02:00
abysssol
084f6a3e26
nixos/ollama: make rocmOverrideGfx
backward compatible
...
The initial version of `rocmOverrideGfx` incorrectly used `lib.mkIf`
in an attempt to prevent interference with previous uses of
`environmentVariables.HSA_OVERRIDE_GFX_VERSION`.
However, the effect was actually to simply erase existing definitions of
`HSA_OVERRIDE_GFX_VERSION` until `rocmOverrideGfx` was set,
which was the situation I was trying to avoid in the first place.
This fixes the bug by switching from `lib.mkIf` to `lib.optionalAttrs`.
2024-07-24 16:11:09 -04:00
abysssol
246d1ee533
nixos/ollama: reformat with nixfmt-rfc-style
2024-07-24 16:09:56 -04:00
Julien Moutinho
43c36273b2
nixos/radicle: fix support of absolute file paths for SSH keys
2024-07-24 22:07:53 +02:00
Yaya
feeb53a430
nixos/gitlab: Replace git package with bundled git
...
This commit switches gitaly's git package from `pkgs.git` to the bundled
`git` package in order to maintain compatibility with the supported git
release by gitaly.
2024-07-24 10:51:55 +02:00
Franz Pletz
e6ae50bb83
Merge pull request #327986 from 7596ff/7596ff/airsonic-context-path
2024-07-23 23:15:27 +02:00
Pol Dellaiera
771c4624ed
Merge pull request #328713 from mweinelt/ollama-sandbox-issue
...
nixos/ollama: replace flawed sandboxing option
2024-07-22 22:21:16 +02:00
Martin Weinelt
fe58e8856f
nixos/ollama: make host example dualstack wildcard
...
Binding to IPv6 wildcard generally binds dual-stack, which is also a
better example because the way to specify it is not always very clear.
2024-07-22 14:51:40 +02:00
Martin Weinelt
12897b37a8
nixos/ollama: harden systemd unit
...
Tested with CPU and CUDA acceleration. Researched for ROCm, but I have no
compatible card to test it with.
2024-07-22 14:51:40 +02:00
Martin Weinelt
be7bce879f
nixos/ollama: remove writablePaths option
...
Making the models directory always writable is much simpler, than having
to watch out for an option to facilitate that.
2024-07-22 14:51:39 +02:00
Martin Weinelt
809ea5c6bd
nixos/ollama: replace flawed sandboxing option
...
The ollama module in its default configuration relies on systemd's
`DynamicUser=` feature for user allocation. In #305076 that allocation
was made conditional and tied to the `sandboxing` option, that was
intended to fix access to model directories outside the allocated state
directory.
However, by disabling sandboxing ollama would inadvertently run as root,
given that `User=` and `Group=` are not required to be set.
The correct way to grant access to other paths is to allocate static
user and group, and grant permissions to the destination path to that
allocation.
We therefore replace the sandboxing option user and group options, that
default to `null`, which means they default to `DynamicUser=`, but can
be replaced with a statically allocated user/group, and thereby a stable
uid/gid.
Fixes: 552eb759
("nixos/ollama: add options to bypass sandboxing")
2024-07-22 14:51:39 +02:00
Bruno BELANYI
c8f2bb1b65
nixos/tandoor-recipes: revert 'GUNICORN_MEDIA=1'
...
Quoting from upstream's documentation [1]:
> Basically everyone recommends not doing this. Please use [a webserver]
> to handle media file serving.
Given that this commit broke the module for unrelated reasons, I've
decided to just revert it and let downstream users make the choice of
easy vs. secure.
[1]: https://docs.tandoor.dev/system/configuration/#gunicorn-media
This reverts commit e8c56de827
.
2024-07-22 09:17:41 +00:00
Pavel Sobolev
c9c14f86db
nixos/flaresolverr: initial commit
2024-07-19 20:55:21 +03:00
Sandro
89d95fb2bc
Merge pull request #327939 from Guanran928/libreddit
2024-07-19 13:47:14 +02:00
Cassandra McCarthy
c6ba378b7b
airsonic: update context-path directive
...
This line has been broken since the service file was created. According
to the [spring docs] that Airsonic uses, server.context-path is what
should be here. I've tested this by manually setting it as an extra JVM
option on my machine, and it works.
[spring docs]: https://docs.spring.io/spring-boot/docs/1.4.5.RELEASE/reference/htmlsingle/#common-application-properties
2024-07-17 13:23:19 -04:00
Guanran Wang
f7a0c71b61
libreddit: remove as unmaintained upstream
2024-07-17 23:03:14 +08:00
Aleksana
a9a4e171c7
Merge pull request #327032 from danc86/push-krkxkxtnruqp
...
nixos/sssd: fix KCM to use new krb5 settings
2024-07-17 22:29:09 +08:00
Sandro
51fcc2c92e
Merge pull request #314440 from ju1m/radicle
2024-07-17 13:04:06 +02:00
Pyrox
a24fa6098d
nixos/gotenberg: init
2024-07-17 10:37:35 +02:00
OTABI Tomoya
43d306e7db
Merge pull request #326398 from phaer/etebase-python
...
etebase-server: use buildPythonApplication, default to withLdap = false
2024-07-17 10:00:42 +09:00
phaer
c437fb23e1
etebase-server: use buildPythonApplication...
...
...not pythonPackage. This is an app, living in pkgs/servers, so
we just use callPackage in all-packages and drop the python module.
python3.pkgs.toPythonModule could be used if a python module was needed.
Before that change legacyPackages.x86_64-linux.python311.pkgs.etebase-server.python
would give a python 3.12 release, and was therefore broken.
etebase-server = toPythonModule (pkgs.etebase-server.override {
python3 = python;
});
would now be correct
2024-07-16 20:20:29 +02:00
Jörg Thalheim
fdfe59f7b3
xmr-stak: remove
2024-07-15 09:30:59 +02:00
Florian Brandes
f312bdb5d7
nixos/blendfarm: init
...
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-14 21:01:04 +05:30
Dan Callaghan
375ef3c127
nixos/sssd: fix KCM to use new krb5 settings
...
krb5.libdefaults moved to security.krb5.settings.libdefaults in PR #243169 .
2024-07-14 16:43:56 +10:00
lassulus
ee2d97a3ce
Merge pull request #323604 from LennyPenny/patch-1
...
nixos/tandoor-recipes: enable serving of media files by default
2024-07-13 21:36:17 +02:00
Sandro
ebd625a22a
Merge pull request #276692 from dani0854/nixos/languagetool/add_jvm_options
...
nixos/languagetool: add jvm options
2024-07-07 16:41:41 +02:00
Julien Moutinho
88fb6d37e3
nixos/radicle: init services
2024-07-05 22:07:32 +02:00
Aleksana
1c1df68b1e
Merge pull request #323020 from bjornfor/nixos-dictd-exit-status
...
nixos/dictd: treat SIGTERM exit status as success
2024-07-05 02:01:21 +08:00
Nicholas Sielicki
56ceae07be
nixos/jellyseerr: add package option ( #276616 )
...
Co-authored-by: seth <getchoo@tuta.io>
Co-authored-by: Franz Pletz <fpletz@fnordicwalking.de>
2024-07-04 18:56:38 +02:00
❄️
a5dad94280
Merge pull request #324083 from Djabx/fix-config-snapper
...
nixos/snapper: fix timeline options type
2024-07-04 12:50:01 -03:00
David McFarland
b44b62db30
Merge pull request #291640 from tie/sonarr-v4
...
sonarr: build from source
2024-07-04 12:08:02 -03:00
OTABI Tomoya
3ca8ba2a73
Merge pull request #324114 from NyCodeGHG/renovate-unix-socket
...
nixos/renovate: allow AF_UNIX access
2024-07-03 22:40:17 +09:00
Alexandre Badez
e37b07ffba
nixos/snapper: fix timeline options type
2024-07-03 13:52:34 +02:00
Alexandre Badez
0c80191081
nixos/snapper: add maintainer
2024-07-03 13:52:34 +02:00
Thomas Gerbet
8ddb1bb721
Merge pull request #318599 from pacien/nixos-fcgiwrap-isolation
...
nixos/fcgiwrap: refactor to fix permissions
2024-07-02 21:52:33 +02:00
Sandro
4f90cfd2f9
Merge pull request #313984 from yayayayaka/gitlab-17.0.1
...
gitlab: 16.11.5 -> 17.1.1
2024-07-02 20:12:42 +02:00
Marie Ramlow
787354f63c
nixos/renovate: allow AF_UNIX access
...
renovate can update nix dependencies, which results in nix trying to communicate with the nix-daemon over a unix socket.
2024-07-02 20:09:12 +02:00
ckie
7d34b64eca
maintainers: remove ckie
...
well, we failed. we have not saved nix together[0], and today's show of
utter incompetence[1] has pushed me over the edge along with many others[2]
it's been good. a lot of PRs. a lot of endless reviews.
some new friends, some old friends converted :P
cya in the next world, cuties <3
[0] https://save-nix-together.org/
[1] https://discourse.nixos.org/t/nca-member-jonringer-joint-announcement/48231
[2] https://github.com/NixOS/nixpkgs/issues?q=label%3A%228.has%3A+maintainer-list+%28update%29%22+remove+in%3Atitle+created%3A%3C2024-07-10
2024-07-02 02:40:02 +02:00
abysssol
bf91b72c06
nixos/ollama: remove linuxPackages
override
...
`linuxPackages.nvidia_x11` is no longer used by the `ollama` package.
2024-07-01 04:50:19 -04:00
Lenny
e8c56de827
nixos/tandoor-recipes: enable serving of media files by default
...
Fixes 404 when tandoor is trying to serve recipe images.
2024-06-30 14:47:21 +00:00
Bjørn Forsman
7db3dc0fa4
nixos/dictd: treat SIGTERM exit status as success
...
dictd doesn't handle SIGTERM and terminates with code 143 (128 + 15
(SIGTERM) instead of 0. This results in systemd marking the service as
failed when a user stops it (with `systemctl stop dictd`). Fix it by
treating code 143 as success.
2024-06-29 13:40:49 +02:00