Commit Graph

41312 Commits

Author SHA1 Message Date
Bjørn Forsman
c8ab0eb08b nixos/mosquitto: fix "listeners" option default
The option type is listOf, so the default should be an empty list, not
empty attrset.

(cherry picked from commit 4265f4354c)
2024-08-09 17:00:38 +02:00
Pol Dellaiera
7b1e9b0807
Merge pull request #332915 from shivaraj-bh/backport-open-webui-latest-to-release-24.05
[Backport release-24.05] Update open-webui to 0.3.12
2024-08-08 22:58:02 +02:00
Sandro Jäckel
2c05999807 nixos/redis: remove outdated info in enable option
Thanks for the heads up @poperigby !

(cherry picked from commit 3e8666bce9)
2024-08-08 18:57:17 +02:00
Robert Hensing
9dd5768c0d
Merge pull request #330623 from NixOS/backport-323613-to-release-24.05
[Backport release-24.05] nix-channel: do not set empty nix-path when disabling channels
2024-08-08 18:39:30 +02:00
github-actions[bot]
0935f33279
nixos/tailscale: add extraSetFlags to configure daemon (#333049)
(cherry picked from commit 81a58be20b)

Co-authored-by: Kyungrok Chung <acadx0@gmail.com>
2024-08-07 14:46:41 -04:00
Pol Dellaiera
92cc08eb18 nixos/open-webui: add more default variables
(cherry picked from commit 028584b548)
2024-08-07 11:57:53 +05:30
Pol Dellaiera
35c839e9b5 nixos/open-webui: update options default values
(cherry picked from commit 309451127f)
2024-08-07 11:57:53 +05:30
Pol Dellaiera
d350ef8f50 nixos/open-webui: add example in options
(cherry picked from commit 5664bb7899)
2024-08-07 11:57:52 +05:30
Pol Dellaiera
4583abdd87 nixos/open-webui: remove preStart step
nixos/open-webui: remove `preStart` step

(cherry picked from commit a8670536e5)
2024-08-07 11:57:52 +05:30
Pol Dellaiera
5818d538c5 nixos/open-webui: update option and service descriptions
(cherry picked from commit 61ab4de94c)
2024-08-07 11:57:52 +05:30
Pol Dellaiera
7a34f7dd5d nixos/open-webui: add openFirewall option
(cherry picked from commit 709eb8ebaf)
2024-08-07 11:57:52 +05:30
Pol Dellaiera
1cc2864e95
Merge pull request #332412 from NixOS/backport-316248-to-release-24.05
[Backport release-24.05] open-webui: init at 0.2.4
2024-08-07 07:22:28 +02:00
Martin Weinelt
8b4b8ea9cf nixos/release-small: stop building amazon image
Rebuilding images multiple times on the small channels is too expensive
and makes them slower than they could be. Consuming the image from the
full release channel is probably good enough.

(cherry picked from commit 9426d90c67)
2024-08-05 09:12:50 +00:00
shivaraj-bh
85028398e1 nixos/open-webui: init
(cherry picked from commit f66cb82fef)
2024-08-05 06:44:34 +00:00
Bjørn Forsman
fea54e56e7 nixos/deconz: mention RaspBee hardware
(cherry picked from commit 849492e6e2)
2024-08-04 09:51:25 +02:00
Bjørn Forsman
c35006b99c nixos/deconz: update URL to hardware products
There are multiple products/versions, so replace the "version 2" URL
with a landing page for all products.

(cherry picked from commit aeaf887dcb)
2024-08-04 09:51:25 +02:00
networkException
03b63017ed nixos/flatpak: add package option
this patch adds the `services.flatpak.package` option to
allow overriding the package added by this module to
`environment.systemPackages` and the likes.

This is useful in scenarios where applications call the
flatpak binary to query information like writable directories
and there is a custom package returning different results
from the vanilla binary.

See https://github.com/crabdancing/nixpak-flatpak-wrapper

(cherry picked from commit af69223f46)
2024-08-03 15:15:01 +00:00
Sandro
5ea2431441
Merge pull request #330861 from teutat3s/backport-docker-default-bump 2024-07-31 13:20:34 +02:00
teutat3s
dbef07c3e5
docker: move default from 24.x to 25.x
24.x is no longer maintained as of February 1, 2024[1].
It did not (yet?) receive a fix for CVE-2024-41110.

According to [1] 25.x will be the next LTS version, use that version to
reduce risk of possible breakage.

[1] https://github.com/moby/moby/pull/46772#discussion_r1686464084
2024-07-29 14:59:41 +02:00
Robert Hensing
5c3491ba46 nixos/nix-channel.nix: shellcheck and fix the activation check
(cherry picked from commit 2d9a686483)
2024-07-28 11:31:42 +00:00
Robert Hensing
99f1301be3 nixosTests.installer.switchToFlake: It is probably really stupid
We may want to clear NIX_PATH when channels are disabled, or maybe
it has to be a separate option.
This is just very frustrating to me.

(cherry picked from commit 3f76dcea93)
2024-07-28 11:31:42 +00:00
Robert Hensing
9d6195d69d nixosTests.installer.switchToFlake: Adjust for workaround in #323613
(cherry picked from commit 46df92b270)
2024-07-28 11:31:42 +00:00
Robert Hensing
5a715379eb nixos/nix-channel: Highlight and tidy the warnings
(cherry picked from commit 34fee8c804)
2024-07-28 11:31:41 +00:00
Robert Hensing
b096badfeb nixos/activation-script: Add lib.sh with warn()
(cherry picked from commit 1022da85ab)
2024-07-28 11:31:41 +00:00
Vladimir Panteleev
98bccac2f9 nix-channel: do not set empty nix-path when disabling channels
An empty nix-path in nix.conf will disable NIX_PATH environment variable
entirely, which is not necessarily implied by users who want to disable
nix channels. NIX_PATH also has some usages in tools like nixos-rebuild
or just as user aliases.

That change is surprising and debatable, and also caused breakages in
nixpkgs-review and user configs.

See:
- https://github.com/NixOS/nixpkgs/pull/242098/files#r1269891427
- https://github.com/Mic92/nixpkgs-review/issues/343
- https://github.com/NixOS/nix/pull/10998

Co-authored-by: oxalica <oxalicc@pm.me>
(cherry picked from commit 1e6acabaeb)
2024-07-28 11:31:41 +00:00
Rafael Fernández López
16bb67ec64 virtualisation/{docker,podman}: update nvidia-ctk warning
Warnings and descriptions for `virtualisation.docker.enableNvidia` and
`virtualisation.podman.enableNvidia` point erroneously to set
`virtualisation.containers.cdi.dynamic.nvidia.enable`. This NixOS
option has been deprecated and the recommended NixOS option is
`hardware.nvidia-container-toolkit.enable`.

(cherry picked from commit 3d2a21eddf)
2024-07-28 11:25:19 +00:00
Sandro Jäckel
d24055bd37 nixos/plasma6: enable programs.kde-pim by default
(cherry picked from commit 4169ba8920)
2024-07-27 22:07:50 +00:00
Sandro Jäckel
e6dacc093c programs/kde-pim: init
(cherry picked from commit aa5ebae159)
2024-07-27 22:07:50 +00:00
Yaya
290dd599d9 nixosTests.gitlab: add git package
(cherry picked from commit 66f9d60dd7)
2024-07-25 23:23:31 +02:00
Yaya
7f19bbe215 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.

(cherry picked from commit feeb53a430)
2024-07-25 23:23:31 +02:00
Benno Bielmeier
4fdb8ffc8d nixos/graylog: add option dataDir
in order to use this nixos module with Graylog 6.0, in which

> the default value for the data_dir configuration option has been
> removed and must be specified in graylog.conf [1].
> -- https://go2docs.graylog.org/current/upgrading_graylog/upgrading_to_graylog_6.0.x.htm

The value set by default is the same as before introducing this option.
See also [1,2]

[1]: https://go2docs.graylog.org/current/setting_up_graylog/server.conf.html
[2]: https://go2docs.graylog.org/5-2/setting_up_graylog/server.conf.html

(cherry picked from commit ed904c256f)
2024-07-22 23:33:20 +00:00
Bjørn Forsman
ea73e7ae9d 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.

(cherry picked from commit 7db3dc0fa4)
2024-07-22 17:31:20 +02:00
Franz Pletz
38ad1f17e7 nixos/proxmox-lxc: fix nixos-rebuild
Same is being done in lxc-container module.

(cherry picked from commit ceafec213f)
2024-07-21 07:10:11 +00:00
Franz Pletz
6ab0cafeae nixos/proxmox-lxc: fix getty start
Otherwise there is no getty on tty1 in Proxmox.

(cherry picked from commit c501d3fa97)
2024-07-21 07:10:11 +00:00
Franz Pletz
f9b9828216 nixos/proxmox-lxc: reformat
(cherry picked from commit 4aa419c046)
2024-07-21 07:10:11 +00:00
Franz Pletz
83887abeed
Merge pull request #328838 from NixOS/backport-320075-to-release-24.05 2024-07-21 09:09:27 +02:00
Franz Pletz
924059143b
Merge pull request #328837 from NixOS/backport-267764-to-release-24.05 2024-07-21 09:09:15 +02:00
illustris
5a65ef0b08 nixos/proxmox-lxc: fix ping in unprivileged LXCs
(cherry picked from commit 01b159092f)
2024-07-21 06:25:34 +00:00
Brendan Golden
f879790bc1 nixos/proxmox-lxc: allow importing module without activation, for used in mixed machine clusters
(cherry picked from commit c20f3b70ab)
2024-07-21 06:25:04 +00:00
illustris
fe84f99154 nixos/proxmox-lxc: fix console access (#307163)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
(cherry picked from commit da799551a4)
2024-07-21 06:24:24 +00:00
Peder Bergebakken Sundt
272ab0c0c6
Merge pull request #327625 from NixOS/backport-327324-to-release-24.05
[Backport release-24.05] programs.ydotool: remove invalid systemd directive
2024-07-20 18:38:35 +02:00
Guillaume Girol
7f14f6aaaf
Merge pull request #327154 from NixOS/backport-318897-to-release-24.05
[Backport release-24.05] nixos/btrbk: undeprecate extraPackages
2024-07-20 18:00:27 +02:00
Pol Dellaiera
c34bfade68 nixos/boot: use --replace-fail
(cherry picked from commit f2318b9d58)
2024-07-19 20:53:12 +00:00
Franz Pletz
18e1e8ec7c
Merge pull request #327386 from NixOS/backport-325589-to-release-24.05 2024-07-16 16:38:22 +02:00
Zitrone
651684c92b programs.ydotool: remove invalid systemd directive
fixes #327156

(cherry picked from commit 10c8868b7f)
2024-07-16 11:25:14 +00:00
Cosima Neidahl
f49f761cd3
Merge pull request #327152 from NixOS/backport-324663-to-release-24.05
[Backport release-24.05] lomiri.teleports: init at 1.20
2024-07-16 08:07:33 +02:00
wskeele
83caf04904 nixos/duplicity: Add support for --include-filelist / --exclude-filelist
(cherry picked from commit fff878e7c6)
2024-07-15 14:35:46 +00:00
Robert Hensing
77df3f1792
Update nixos/modules/installer/tools/nix-fallback-paths.nix
Co-authored-by: Emily <vcs@emily.moe>
2024-07-14 20:06:56 +02:00
Guillaume Girol
4d3f56b92c nixos/btrbk: undeprecate extraPackages
it is required on systems where ssh access is configured for
lz4-compressed btrfs send, but no instances are present.

fixes https://github.com/NixOS/nixpkgs/issues/316676

(cherry picked from commit 952b1a3d96)
2024-07-14 17:14:19 +00:00
OPNA2608
ac799e549f nixos/lomiri: Add teleports
(cherry picked from commit 77aaa0695f)
2024-07-14 16:48:22 +00:00