Aleksana
be3aee43dd
Merge pull request #311397 from Raroh73/fix/services.llama-cpp
...
nixos/llama-cpp: fix rocm support
2024-05-16 20:26:28 +08:00
Pol Dellaiera
8821e81e02
Merge pull request #311307 from michaelpj/mpj/remove-some-maintennce
...
Remove myself from some packages I no longer use
2024-05-14 21:23:12 +02:00
Aleksana
39458d9055
Merge pull request #300564 from Cynerd/bcg-fix
...
nixos/bcg: fix usage without environment files
2024-05-14 21:27:59 +08:00
Raroh73
1f2c3812d4
nixos/llama-cpp: fix rocm support
2024-05-13 17:01:33 +02:00
Christina Rust
31a5a35b7e
Merge pull request #305286 from cafkafk/devpi-server-init
...
nixos/devpi-server: init
2024-05-13 13:14:51 +02:00
Christina Sørensen
52e0ad744d
nixos/devpi-server: init
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-05-13 12:14:44 +02:00
Michael Peyton Jones
cd981c1cc6
tzupdate: remove michaelpj as maintainer
2024-05-13 10:57:00 +01:00
Xyven1
201a5ff61f
nixos/plex: add systemd hardening configuration
2024-05-12 14:22:04 -04:00
Pol Dellaiera
aff1950a3f
nixos/private-gpt: init
2024-05-11 22:42:04 +02:00
Rouven Seifert
06667e028f
nixos/portunus: fix dangling service files for dex
2024-05-09 11:29:23 +02:00
Karel Kočí
282f8b7be3
nixos/bcg: fix usage without environment files
...
The preStart script should be used only if it is really needed.
2024-05-07 14:58:19 +02:00
Niklas Hambüchen
9d7a729277
treewide: ReadWriteDirectories -> ReadWritePaths.
...
These were renamed in systemd v231:
2a624c36e6
2024-05-07 01:06:02 +02:00
éclairevoyant
b43ad60e1a
Merge pull request #308966 from Guanran928/wastebin
...
nixos/wastebin: fix typo
2024-05-04 06:28:36 +00:00
Guanran Wang
c46effbdf0
nixos/wastebin: fix typo
2024-05-04 13:00:34 +08:00
piegames
315db4f0f2
heisenbridge: Drop piegames from maintainers
2024-05-03 13:38:25 +02:00
nicoo
1207b23cc2
Merge #305764 : nixos/gitlab: Add a second database connection
2024-05-02 17:44:56 +00:00
Matt Kline
ff0f4540c0
snapper: Add persistentTimer option to config
...
Defaults to false, but allows users to enable it for machines that
aren't on persistently (e.g., laptops, home PCs).
2024-04-25 22:26:18 -07:00
Pyrox
11255ef03c
maintainers: thehedgeh0g -> pyrox0
...
Also updates my information and contact info.
I no longer use The Hedgehog as my github username or online presence
username, so this fixes that. It also matches my github username, so it
should be easier for others to mention me if needed.
2024-04-24 12:53:58 -04:00
Yaya
c743d6d617
nixos/gitlab: Add a second database connection
...
GitLab deprecated single database connections in 15.9. [1]
From GitLab 17.0 onward it will be mandatory to define both `main` and
`ci` sections in the `database.yml`. [2]
This commit updates the module to address the upcoming breaking change.
[1]: https://gitlab.com/gitlab-org/gitlab/-/issues/387898
[2]: https://docs.gitlab.com/16.10/ee/install/installation.html#configure-gitlab-db-settings
2024-04-21 16:59:37 +02:00
Yaya
df9bc1f9a7
nixos/gitlab: Rename postgresql port option
2024-04-21 16:58:30 +02:00
Preston Hunt
b87790536d
nixos/greenclip: restart daemon if it exits
2024-04-21 23:58:10 +10:00
Pol Dellaiera
31805d0367
Merge pull request #305076 from abysssol/ollama-sandbox
...
nixos/ollama: add options to bypass sandboxing
2024-04-20 10:49:28 +02:00
Leona Maroni
3905a63bdc
Merge pull request #305267 from e1mo/paperless-always-eng
...
nixos/paperless: Always buidl tesseract with english
2024-04-19 12:07:02 +02:00
Bruno BELANYI
5d8f1c0172
Merge pull request #297805 from ambroisie/podgrab-user
...
nixos/podgrab: add user/group/dataDirectory options
2024-04-19 10:08:04 +01:00
e1mo
f0721f3779
nixos/paperless: Always buidl tesseract with english
...
With the changes introduced in #303388 tesseract would only be compiled
with the languages defined in `PAPERLESS_OCR_LANGUAGE`. However, english
is always required, making tesseract fail to build when only non-english
languages are defined in tesseract:
```
eng.traineddata must be present in tessdata for Tesseract to work
```
2024-04-19 10:47:54 +02:00
Bruno BELANYI
65251f102d
nixos/podgrab: add 'dataDirectory' option
2024-04-18 16:43:06 +00:00
abysssol
552eb75964
nixos/ollama: add options to bypass sandboxing
2024-04-18 10:52:20 -04:00
Christina Sørensen
d5851d5676
nixos/dockerRegistry: add configFile
option
...
defaultText based on how nixos/modules/services/development/athens.nix
does it.
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-04-18 06:11:06 +02:00
Sandro Jäckel
8c3a2b0a10
nixos/portunus: add note about allowed characters to id
2024-04-17 23:09:45 +02:00
abysssol
f53ced0368
nixos/ollama: set service working directory to home
2024-04-17 03:07:00 -04:00
Marie Ramlow
8785ef0a2d
nixos/db-rest: init
2024-04-16 10:42:02 +02:00
Leona Maroni
025d3a2f65
Merge pull request #303388 from SuperSandro2000/paperless-only-enabled-languages
...
nixos/paperless: override enabled tesseract languages with the in paperless configured ones
2024-04-14 14:59:33 +02:00
Pol Dellaiera
5d67f4277d
Merge pull request #303708 from abysssol/update-ollama-0.1.31
...
ollama: 0.1.30 -> 0.1.31
2024-04-14 10:57:54 +02:00
abysssol
4508b59900
nixos/ollama: update documentation
2024-04-13 19:52:08 -04:00
Sandro Jäckel
b579dac4ed
nixos/paperless: override enabled tesseract languages with the in paperless configured ones
2024-04-13 22:44:19 +02:00
stuebinm
6afb255d97
nixos: remove all uses of lib.mdDoc
...
these changes were generated with nixq 0.0.2, by running
nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix
two mentions of the mdDoc function remain in nixos/, both of which
are inside of comments.
Since lib.mdDoc is already defined as just id, this commit is a no-op as
far as Nix (and the built manual) is concerned.
2024-04-13 10:07:35 -07:00
Casey Link
789684ad02
nixos/paperless: Switch to systemd.tmpfiles.settings
...
This option resolves #301746 by allowing the admin to bypass the
creation of the paperless directories by systemd-tmpfiles.
This is necessary when, for example, those directories lie inside an NFS
mount that the root user does not have rw access to.
Fixes #301746
2024-04-11 08:19:24 +02:00
Casey Link
9532793d59
nixos/paperless: refactor to use systemd LoadCredential
...
This replaces the paperless-copy-password service with the use of
systemd's LoadCredential mechanism.
It is not a breaking change since it is gated behind `cfg.passwordFile`.
2024-04-11 08:19:05 +02:00
Christoph Heiss
6729c6c653
nixos: sourcehut: fix some binary paths
...
Use the (wrapped) executable from the package directly, instead of
through the custom python env.
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-04-10 19:57:30 +02:00
Adam C. Stephens
e8ff41fa85
Merge pull request #285041 from r-vdp/nix-optimise-fix-timer
...
nix-optimise: only create timer unit if needed
2024-04-10 13:48:22 -04:00
K900
2704f5bb2f
Merge pull request #302595 from motiejus/autorandr-match-edid
...
nixos/autorandr: add --match-edid
2024-04-09 23:23:59 +03:00
Motiejus Jakštys
dd1e21f39f
nixos/autorandr: add --match-edid
...
It is useful when outputs change, but EDIDs do not. See [upstream PR][1]
for more details.
[1]: https://github.com/phillipberndt/autorandr/pull/293
2024-04-09 23:22:08 +03:00
Sandro
4cc6ce454d
Merge pull request #291913 from SuperSandro2000/sddm-wayland-only
2024-04-09 14:31:12 +02:00
Bjørn Forsman
a29010fe79
nixos: improve many 'enable' descriptions
2024-04-09 07:10:17 +02:00
Sandro Jäckel
5598d81e94
nixos/graphical-desktop: extract generic graphical things from xserver
...
This is required to fix the keymap in SDDM without X.
2024-04-08 21:56:37 +02:00
abysssol
18a5476aa7
nixos/ollama: add options to override HOME
and OLLAMA_MODELS
2024-04-07 22:56:43 -04:00
Sandro
0bb462d49c
Merge pull request #301267 from bb2020/mbpfan
2024-04-04 16:01:21 +02:00
bb2020
678bc2cec5
nixos/mbpfan: remove syslog.target
2024-04-04 16:07:14 +03:00
bb2020
bf57e97ef0
nixos/mbpfan: minor changes
2024-04-04 16:06:49 +03:00
Felix Buehler
8dab54e2b3
nixos/gogs: prefer 'umask' over 'chmod'
2024-04-03 19:40:12 +02:00
Aaron Andersen
46bcc66f01
Merge pull request #300805 from felixsinger/pkgs/redmine/fix-assertion
...
nixos/redmine: Fix broken assertion when SQLite is used
2024-04-02 11:37:39 +00:00
Yaya
dcd0f499c6
nixos/gitlab: Add option sidekiq.concurrency.
...
This commit adds an option to configure the amount of threads to use
with sidekiq-cluster. The GitLab default is currently set to 20 threads. In
space constrained environments this may become a problem with running
out of memory as a result.
2024-04-02 07:30:12 +02:00
Mario Rodas
5b3704b4d3
Merge pull request #296616 from Ma27/postgresql-rfc42-submodule
...
nixos/postgresql: turn `settings` into a submodule
2024-04-01 18:26:51 -05:00
Zebreus
eafd39c605
nixos/redmine: Fix broken assertion with sqlite3 database
...
Somehow this was missed while working on commit ddd15dc2d9
. So make the
assertion working when SQLite is used.
2024-04-02 00:17:23 +02:00
Weijia Wang
12375393fb
Merge pull request #299376 from newAM/nixos-llama-cpp-fix
...
nixos/llama-cpp: fix example flags
2024-04-02 00:03:31 +02:00
Aaron Andersen
98f2a766ef
Merge pull request #298740 from felixsinger/pkgs/redmine/rework
...
redmine: Rework module and update package
2024-04-01 18:17:17 +00:00
Pablo Ovelleiro Corral
7f797a698f
wastebin: init at 2.4.3 ( #287455 )
...
* wastebin: init at 2.4.3
* nixos/wastebin: init
Add module and test for wastebin
2024-04-01 04:55:15 +04:00
Soispha
90e5e88c74
nixos/libreddit: Don't hard code binary name in ExecStart
...
Hard coding the name to `libreddit` makes it impossible to use
this module to run `redlib` (a continued fork of `libreddit`).
As `libreddit` has the `mainProgram` meta attribute set, changing
this to `lib.getExe` should not change the module for `libreddit`,
but allows it to work with the `redlib` package.
2024-03-31 22:57:50 +02:00
Weijia Wang
93a725e1a5
Merge pull request #296361 from bhankas/workout-tracker
...
workout-tracker: init at 0.10.5
2024-03-31 04:50:58 +02:00
Maximilian Bosch
5142b7afa8
nixos/postgresql: turn settings
into a submodule
...
The main idea behind that was to be able to do more sophisticated
merging for stuff that goes into `postgresql.conf`:
`shared_preload_libraries` is a comma-separated list in a `types.str`
and thus not mergeable. With this change, the option accepts both a
comma-separated string xor a list of strings.
This can be implemented rather quick using `coercedTo` +
freeform modules. The interface still behaves equally, but it allows to
merge declarations for this option together.
One side-effect was that I had to change the `attrsOf (oneOf ...)` part into
a submodule to allow declaring options for certain things. While at it,
I decided to move `log_line_prefix` and `port` into this structure as
well.
2024-03-30 14:23:05 +01:00
Yaya
774056a4e6
nixos/gitlab: Rename workhorse binary
2024-03-30 12:47:30 +01:00
Felix Singer
ddd15dc2d9
nixos/redmine: Allow using SQLite as database backend
...
Signed-off-by: Felix Singer <felixsinger@posteo.net>
2024-03-30 08:23:20 +01:00
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
Payas Relekar
466b994af9
nixos/workout-tracker: init
2024-03-28 20:08:28 +05:30
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
Alex Martens
1dacec9bb9
nixos/llama-cpp: fix example flags
2024-03-26 19:32:13 -07: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
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