about summary refs log tree commit diff
path: root/nixos/modules/services/misc
AgeCommit message (Collapse)AuthorFilesLines
2024-04-21nixos/greenclip: restart daemon if it exitsPreston Hunt1-1/+4
2024-04-20Merge pull request #305076 from abysssol/ollama-sandboxPol Dellaiera1-2/+36
nixos/ollama: add options to bypass sandboxing
2024-04-19Merge pull request #305267 from e1mo/paperless-always-engLeona Maroni1-1/+4
nixos/paperless: Always buidl tesseract with english
2024-04-19Merge pull request #297805 from ambroisie/podgrab-userBruno BELANYI1-4/+37
nixos/podgrab: add user/group/dataDirectory options
2024-04-19nixos/paperless: Always buidl tesseract with englishe1mo1-1/+4
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-18nixos/podgrab: add 'dataDirectory' optionBruno BELANYI1-3/+16
2024-04-18nixos/ollama: add options to bypass sandboxingabysssol1-2/+36
2024-04-18nixos/dockerRegistry: add `configFile` optionChristina Sørensen1-2/+12
defaultText based on how nixos/modules/services/development/athens.nix does it. Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-04-17nixos/ollama: set service working directory to `home`abysssol1-1/+1
2024-04-16nixos/db-rest: initMarie Ramlow1-0/+182
2024-04-14Merge pull request #303388 from SuperSandro2000/paperless-only-enabled-languagesLeona Maroni1-15/+24
nixos/paperless: override enabled tesseract languages with the in paperless configured ones
2024-04-14Merge pull request #303708 from abysssol/update-ollama-0.1.31Pol Dellaiera1-3/+8
ollama: 0.1.30 -> 0.1.31
2024-04-13nixos/ollama: update documentationabysssol1-3/+8
2024-04-13nixos/paperless: override enabled tesseract languages with the in paperless ↵Sandro Jäckel1-15/+24
configured ones
2024-04-13nixos: remove all uses of lib.mdDocstuebinm139-1235/+1231
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-11nixos/paperless: Switch to `systemd.tmpfiles.settings`Casey Link1-9/+10
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-11nixos/paperless: refactor to use systemd LoadCredentialCasey Link1-14/+2
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-10Merge pull request #285041 from r-vdp/nix-optimise-fix-timerAdam C. Stephens1-3/+5
nix-optimise: only create timer unit if needed
2024-04-09Merge pull request #302595 from motiejus/autorandr-match-edidK9001-1/+8
nixos/autorandr: add --match-edid
2024-04-09nixos/autorandr: add --match-edidMotiejus Jakštys1-1/+8
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-09Merge pull request #291913 from SuperSandro2000/sddm-wayland-onlySandro1-0/+54
2024-04-09nixos: improve many 'enable' descriptionsBjørn Forsman30-30/+32
2024-04-08nixos/graphical-desktop: extract generic graphical things from xserverSandro Jäckel1-0/+54
This is required to fix the keymap in SDDM without X.
2024-04-07nixos/ollama: add options to override `HOME` and `OLLAMA_MODELS`abysssol1-2/+18
2024-04-04Merge pull request #301267 from bb2020/mbpfanSandro1-7/+6
2024-04-04nixos/mbpfan: remove syslog.targetbb20201-1/+1
2024-04-04nixos/mbpfan: minor changesbb20201-6/+5
2024-04-03nixos/gogs: prefer 'umask' over 'chmod'Felix Buehler1-1/+1
2024-04-02Merge pull request #300805 from felixsinger/pkgs/redmine/fix-assertionAaron Andersen1-2/+2
nixos/redmine: Fix broken assertion when SQLite is used
2024-04-02nixos/gitlab: Add option sidekiq.concurrency.Yaya1-6/+21
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-01Merge pull request #296616 from Ma27/postgresql-rfc42-submoduleMario Rodas2-4/+4
nixos/postgresql: turn `settings` into a submodule
2024-04-02nixos/redmine: Fix broken assertion with sqlite3 databaseZebreus1-2/+2
Somehow this was missed while working on commit ddd15dc2d9. So make the assertion working when SQLite is used.
2024-04-02Merge pull request #299376 from newAM/nixos-llama-cpp-fixWeijia Wang1-1/+1
nixos/llama-cpp: fix example flags
2024-04-01Merge pull request #298740 from felixsinger/pkgs/redmine/reworkAaron Andersen1-15/+25
redmine: Rework module and update package
2024-04-01wastebin: init at 2.4.3 (#287455)Pablo Ovelleiro Corral1-0/+158
* wastebin: init at 2.4.3 * nixos/wastebin: init Add module and test for wastebin
2024-03-31nixos/libreddit: Don't hard code binary name in `ExecStart`Soispha1-1/+1
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-31Merge pull request #296361 from bhankas/workout-trackerWeijia Wang1-0/+83
workout-tracker: init at 0.10.5
2024-03-30nixos/postgresql: turn `settings` into a submoduleMaximilian Bosch2-4/+4
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-30nixos/gitlab: Rename workhorse binaryYaya1-1/+3
2024-03-30nixos/redmine: Allow using SQLite as database backendFelix Singer1-6/+7
Signed-off-by: Felix Singer <felixsinger@posteo.net>
2024-03-30nixos/redmine: Use attribute set for storing database settingsFelix Singer1-10/+15
Signed-off-by: Felix Singer <felixsinger@posteo.net>
2024-03-30nixos/redmine: Adjust database password conditionallyFelix Singer1-2/+6
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-29nixos/invidious-router: init moduleSilas Schöffel1-0/+121
2024-03-28Merge pull request #278981 from dotlambda/mollysocket-initRobert Schütz1-0/+133
mollysocket: init at 1.3.0, nixos/mollysocket: init
2024-03-28nixos/mollysocket: initRobert Schütz1-0/+133
2024-03-28nixos/workout-tracker: initPayas Relekar1-0/+83
2024-03-28treewide: Fix all Nix ASTs in all markdown filesJanne Heß3-59/+65
This allows for correct highlighting and maybe future automatic formatting. The AST was verified to work with nixfmt only.
2024-03-28treewide: Mark Nix blocks in markdown as NixJanne Heß4-8/+8
This should help us with highlighting and future formatting.
2024-03-26nixos/llama-cpp: fix example flagsAlex Martens1-1/+1
2024-03-26Merge pull request #299008 from Atemu/paperless-OMP_NUM_THREADSAtemu1-0/+16
nixos/paperless: set OMP_NUM_THREADS=1 by default