Commit Graph

2738 Commits

Author SHA1 Message Date
Sandro
6bfde7268f
evremap: init at 0-unstable-2024-06-17, nixos/evremap: init module (#352720) 2024-11-12 18:41:51 +01:00
Ughur Alakbarov
f21d3a0f07 nixos/tabby: fix typo 2024-11-11 16:26:57 +01:00
Thiago Kenji Okada
44bbe5ddad
nixos/{boinc,guix}: Use exec to start the payload binary of the service (#297526) 2024-11-10 17:35:24 +00:00
Brendan Taylor
d581c42d5d nixos/paperless: add secretsFile option 2024-11-10 08:21:07 -07:00
Wolfgang
9563f469c1 nixos/duckdns: init module 2024-11-09 22:27:14 +01:00
Jozef Hollý
be97874351
Fix: use lib.mkPackageOption 2024-11-09 13:09:08 +01:00
Jozef Hollý
ba83a0dba0
Merge branch 'master' into patch-1 2024-11-09 13:07:47 +01:00
Jozef Hollý
a96dce89d0
PR feedback: Replace pkg variable, move package statement 2024-11-09 13:06:56 +01:00
Sleeping-Donut
df20742283
ombi: allow overriding package in module (#345814)
* ombi: allow overriding package in module

* nixos/ombi: replace explicit bin path with getExe function

Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>

---------

Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
2024-11-09 12:05:54 +01:00
Leah Amelia Chen
41e907f884
nixos/evremap: init module 2024-11-08 09:31:27 +01:00
Franz Pletz
0fc41ad977
treewide: Remove ineffective capability grants. (#333533) 2024-11-06 08:12:51 +01:00
Weijia Wang
acf3de8d62
nixos/guix: add declarative substituters option (#353518) 2024-11-04 20:43:41 +01:00
Gabriel Arazas
7095e0f8c1 nixos/guix: add declarative substituters option 2024-11-03 15:12:12 -06:00
Sandro
f5c76ad2b5
nixos/renovate: set service type to simple (#334557) 2024-11-03 16:52:53 +01:00
Felix Bühler
031b2f0a77
nixos/octoprint: fix ipv6 host (#351721) 2024-10-31 21:37:02 +01:00
h7x4
c3632dc3aa
nixos/dysnomia: move into services (#351046) 2024-10-29 01:17:12 +01:00
Sefa Eyeoglu
d8d66448d7
nixos/paperless: fix shellcheck findings with enableStrictShellChecks enabled (#349559) 2024-10-28 21:40:52 +01:00
Aleksana
04af29af29
nixos/klipper: fix serial value inheritance (#308661) 2024-10-28 21:14:03 +08:00
Ayman Bagabas
b6b90562f7 calibre-server: add extraFlags and openFirewall options
This allows users to pass extra flags to the calibre-server command and
open the necessary ports in the firewall for the Calibre Server API.
2024-10-28 08:21:01 +01:00
Sefa Eyeoglu
9bc0084df7
nixos/bazarr: set systemd config KillSignal to SIGINT to fix timeout (#334675) 2024-10-27 20:13:25 +01:00
Felix Buehler
a9413c7794 nixos/octoprint: fix ipv6 host 2024-10-27 19:16:24 +01:00
Jacek Galowicz
2eace81769
nixos/anki-sync-server: add setting (#344724) 2024-10-27 11:09:55 +01:00
Sandro Jäckel
8f96ccf1ff
nixos/dysnomia: move into services 2024-10-26 22:01:19 +02:00
Felix Buehler
ca63cb8a24 nixos/bazarr: normalize description 2024-10-24 22:39:43 +02:00
Jack Wilsdon
464e353fcc nixos/klipper: fix serial value inheritance 2024-10-23 22:32:26 +01:00
Shaurya Shubham
a4b68ba2c4 nixos/nix-gc: Update nix.gc.dates description to be more precise 2024-10-23 22:17:49 +11:00
Sandro
70e46c586f
doc/misc/docker-registry: fix extraConfig docs (#349495) 2024-10-22 21:06:38 +02:00
Pablo Andres Dealbera
24be165be3 nixos/bazarr: add 156 as a valid SuccessExitStatus 2024-10-21 12:34:15 -03:00
Sefa Eyeoglu
05b9e0a09f
bazarr: allow overriding package in module (#334521) 2024-10-20 20:45:57 +02:00
Sandro Jäckel
c4a7c0fae5
nixos/paperless: fix shellcheck findings with enableStrictShellChecks enabled 2024-10-18 17:28:03 +02:00
Rasmus Précenth
00e1112f9b
nixos/docker-registry: fix extraConfig docs
Co-authored-by: teutat3s <10206665+teutat3s@users.noreply.github.com>
2024-10-18 11:45:18 +02:00
Maximilian Bosch
875f00ed40
gogs: remove
Upstream development has stalled and several critical vulnerabilities
that weren't addressed within a year[1][2].

Back then it was fair to mark it as insecure, but given nothing has
happened since, it's time to remove it.

[1] https://forgejo.org/2023-11-release-v1-20-5-1/
[2] https://github.com/gogs/gogs/issues/7777
2024-10-12 10:36:06 +02:00
Ayman Bagabas
762a9d42a1
bazarr: allow overriding package in module 2024-10-10 17:23:51 -04:00
Felix Singer
0f599d1e68 nixos/redmine: Apply initial hardening using the systemd unit
These options are a good start for sandboxing the service. It's planned
to set `ProtectSystem` to `strict` instead of `full`, but that requires
specific directories to be configured as writable. It's also planned to
filter system calls. However, that requires more testing but it
shouldn't prevent us from applying these options for now and add others
later.

In my tests, Redmine only bound to an IPv4 address and Unix socket,
which is why I restricted the address families to these both.

The command `systemd-analyze security redmine.service` reports an
overall exposure level of 2.9 with this patch.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2024-10-05 22:13:37 +02:00
Aaron Andersen
913a23b5e2
nixos/redmine: Allow specifying an IP address Redmine should bind to (#345617) 2024-10-04 18:18:45 -04:00
Bjørn Forsman
48908e5b86 nixos: improve systemd slice names
Following
https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#Description=,
update slice names to be short, descriptive and capitalized.
2024-10-02 20:24:13 +02:00
Guanran Wang
4e6df6f865
nixos/redlib: use upstream systemd service file 2024-10-01 22:34:38 +08:00
Guanran Wang
672d7efbd5
nixos/redlib: add cfg.settings 2024-10-01 22:31:13 +08:00
Guanran Wang
a2a4c87cab
{,nixos/,nixosTests/}redlib: add Guanran928 as maintainer 2024-10-01 22:10:27 +08:00
Guanran Wang
e286b91ebc
{nixos,nixosTests}/redlib: format with nixfmt 2024-10-01 22:07:58 +08:00
Felix Singer
5f14c876bd nixos/redmine: Allow specifying an IP address Redmine should bind to
In order to not expose Redmine over all interfaces, allow configuring an
IP address it should bind to. Listen to 0.0.0.0 by default.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2024-10-01 06:16:42 +02:00
pinage404
83b1350904 nixos/open-webui: fix opensearch
When [adding Open WebUI as search engine in Firefox](https://docs.openwebui.com/tutorials/integrations/browser-search-engine/#for-firefox) it always links to `http://localhost:3000` instead of the configured port

It is because [the response use `WEBUI_URL` environment variable](1d225dd804/backend/open_webui/main.py (L2370)) which [is set by default to `1d225dd804/backend/open_webui/env.py (L106))
2024-09-30 17:28:11 +02:00
Jörg Thalheim
7d8f1572d1 nixos: enable fstrim by default
The majority of users these days will install NixOS on SSD/NVME based
storage. Enabling fstrim ensures that the TRIM operation on this type of
storage is run at least once a week. This will improve performance and
life time of said devices. This also works in virtual machines as
formats such as qcow2 or vmdk support TRIM.
Ubuntu has a similar systemd timer also for quite a while enabled by
default.
Enabling this service will not increase the dependency closure as
util-linux is already part of the base system.
In case only filesystems that are not supported by fstrim are used, the
overhead is negelible as fstrim run in less than a second once a week.
2024-09-29 14:04:18 +02:00
Doron Behar
4fcd6b86ee
nixos/tzupdate: make it actually work (#343748) 2024-09-29 12:56:06 +03:00
Franz Pletz
ef1ecffdbe
nixos/gitlab: add systemd slice (#343523) 2024-09-28 15:12:58 +02:00
h7x4
dd7a192b4f
nixos/gitlab: add services to systemd slice
Co-authored-by: Bjørn Forsman <bjorn.forsman@gmail.com>
2024-09-28 11:27:05 +02:00
Sandro
0151acc48e
nixos/gotenberg: Fix coredumps on service start (#344770) 2024-09-27 17:22:10 +02:00
Gaute Ravndal
e9860fa6a9 nixos/snapper: use more precise type definition 2024-09-27 07:40:06 +02:00
Pyrox
e2c5983f40
nixos/gotenberg: Fix coredumps on service start 2024-09-26 21:37:41 -04:00
MickaelRoger
58473a3c1a nixos/anki-sync-server: add setting
There is no option to specify where the anki-sync-server data will be stored. This commit adds this option.
2024-09-26 22:13:28 +02:00
Gaute Ravndal
6ce7db1126 nixos/snapper: fix timeline option types
These can be either an integer or a range.

Range options are necessary for `FREE_LIMIT` to take effect when used in
conjunction with `TIMELINE_LIMIT_*`.
2024-09-26 21:55:23 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Felix Singer
421d1b8974 nixos/{redmine,murmur}: Add Felix Singer as maintainer
I'm maintaining the associated packages. So it makes sense to add myself
to their modules as well.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2024-09-22 08:35:08 +02:00
Sandro
97ca40d3ca
turn-rs: init at 3.1.0 (#338928) 2024-09-19 22:53:28 +02:00
Graham Christensen
7547a1f5f8
amazon-ssm-agent: add the system's software to the path
Follow up to #342584.

Similarly to that PR, it is surprising that software which was installed by the user isn't available to a script run over ssm by default.

When executing commands with ssm, users will now have more predictable access to baked-in software instead of an extremely bare-minimum set currently there.
2024-09-18 23:18:28 -04:00
wxt
1a742a9f80 nixos/turn-rs: init 2024-09-19 07:33:51 +08:00
Gautier DI FOLCO
7960660f55
nixos/services.mediatomb: drop not supported transcoding profile for the current vlc version 2024-09-18 00:04:56 +02:00
Gautier DI FOLCO
caf4aa4e10
nixos/services.mediatomb: fix vlc reference 2024-09-18 00:03:31 +02:00
Doron Behar
8efaf0d2d6 nixos/tzupdate: use timedatectl to actually set the timezone
See also: https://github.com/cdown/tzupdate/issues/135
2024-09-17 09:32:44 +03:00
Doron Behar
94892f8f20 tzupdate: add doronbehar to maintainers 2024-09-17 09:32:14 +03:00
Felix Buehler
d70aff4804 nixos/services.gogs: remove with lib; 2024-09-15 10:43:49 +02:00
Felix Buehler
691cc4462a nixos/services.gitolite: remove with lib; 2024-09-15 10:43:49 +02:00
Pascal Bach
b6c754755c nixos/paperless: fix documentation url
The original paperless project is archived

Co-authored-by: Antoine Martin <antoine97.martin@gmail.com>
2024-09-14 14:19:17 +02:00
Tomodachi94
b86ba024bd nixos/paperless: add system-paperless.slice
Non-breaking change.

Part of #279915.
2024-09-14 14:19:17 +02:00
Dominique Martinet
2b5ca0f433 ankisyncd: remove 2024-09-11 13:53:06 +08:00
Felix Bühler
dc5ff75973
nixos/services.portunus: remove with lib; (#339097) 2024-09-10 21:41:55 +02:00
Felix Bühler
2954826541
nixos/services.taskserver: remove with lib; (#339104) 2024-09-10 21:41:05 +02:00
Felix Bühler
7a46626d03
nixos/services.rippled: remove with lib; (#339106) 2024-09-10 21:35:12 +02:00
Adam C. Stephens
fbbafbb834
nixos/services.radicle: remove with lib; (#339105) 2024-09-10 12:00:35 -04:00
Felix Bühler
3ffbdee67c
nixos/services.snapper: remove with lib; (#339096) 2024-09-09 18:36:49 +02:00
Sefa Eyeoglu
dba4f38d34
nixos/renovate: set service type to simple
By setting `Type=oneshot` for longer running services like Renovate, the
unit remains in the `activating` state during the whole lifetime of the
main process. This is probably desirable for short scripts/programs that
run setup tasks for other services, like setting up network interfaces.
In those cases one can also make use of `RemainAfterExit` to treat the
service as `active` once the main process exits.

In the case of Renovate we do not make use of `RemainAfterExit` and we
have a longer running task, so `Type=simple` works better here.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-09-09 14:47:17 +02:00
Pol Dellaiera
bcb04b0967
open-webui: Add environmentFile option (#334830) 2024-09-09 03:28:37 +02:00
Emily
42e6ee04b1
nixos/*: use pipewire by default (#339209) 2024-09-04 22:42:18 +01:00
K900
438fd16359 nixos/graphical-desktop: enable Pipewire audio by default 2024-09-04 13:56:42 +03:00
Aleksana
43b54f4834
nixos/services.bees: Fix evaluation (#339185) 2024-09-03 20:36:36 +08:00
Bruno BELANYI
4d1e8c93a6
nixos/prowlarr: set HOME for the service (#317554) 2024-09-03 11:08:10 +01:00
Felix Buehler
d37789ce5d nixos/services.taskserver: remove with lib; 2024-09-02 22:29:22 +02:00
Felix Buehler
3687224301 nixos/services.snapper: remove with lib; 2024-09-02 22:28:48 +02:00
Felix Buehler
9ed63429ab nixos/services.rippled: remove with lib; 2024-09-02 22:28:20 +02:00
Felix Buehler
11dd437b65 nixos/services.radicle: remove with lib; 2024-09-02 22:27:51 +02:00
Felix Buehler
cd7695ae97 nixos/services.portunus: remove with lib; 2024-09-02 22:27:08 +02:00
Zhong Jianxin
422ae9928a nixos/services.bees: Fix evaluation
```
error: undefined variable 'mod'
```
2024-09-02 19:23:52 +08:00
Felix Buehler
0846124d8b nixos/services.owncast: remove with lib; 2024-08-30 23:00:55 +02:00
Felix Buehler
20496ce388 nixos/services.osrm: remove with lib; 2024-08-30 23:00:55 +02:00
Felix Buehler
eddc7384db nixos/services.ombi: remove with lib; 2024-08-30 23:00:55 +02:00
Felix Buehler
d40cf96f75 nixos/services.octoprint: remove with lib; 2024-08-30 23:00:55 +02:00
Felix Buehler
a99bf84530 nixos/services.nzbhydra2: remove with lib; 2024-08-30 23:00:54 +02:00
Felix Buehler
2da17447da nixos/services.nzbget: remove with lib; 2024-08-30 23:00:54 +02:00
Felix Buehler
457b7563d4 nixos/services.ntfy-sh: remove with lib; 2024-08-30 23:00:54 +02:00
Felix Buehler
eeed115e37 nixos/services.novacomd: remove with lib; 2024-08-30 23:00:54 +02:00
Felix Buehler
b48bee9985 nixos/nix.sshServe: remove with lib; 2024-08-30 23:00:54 +02:00
Felix Buehler
42bdc30f19 nixos/services.n8n: remove with lib; 2024-08-30 23:00:53 +02:00
Felix Buehler
e00ab2106a nixos/services.moonraker: remove with lib; 2024-08-30 23:00:53 +02:00
Felix Buehler
a4db992d51 nixos/services.mbpfan: remove with lib; 2024-08-30 23:00:53 +02:00
Felix Buehler
68fd69371f nixos/services.mame: remove with lib; 2024-08-30 23:00:53 +02:00
Felix Buehler
a11ac85d65 nixos/services.logkeys: remove with lib; 2024-08-30 23:00:53 +02:00
Felix Buehler
25e0bc25f6 nixos/services.lifecycled: remove with lib; 2024-08-30 23:00:52 +02:00
Felix Buehler
d562492115 nixos/services.lidarr: remove with lib; 2024-08-30 23:00:52 +02:00
Felix Buehler
4e1b387f24 nixos/services.leaps: remove with lib; 2024-08-30 23:00:52 +02:00
Felix Buehler
118d8962d3 nixos/services.languagetool: remove with lib; 2024-08-30 23:00:52 +02:00