Commit Graph

41437 Commits

Author SHA1 Message Date
h7x4
a77fc07ef9 nixos/doc: add documentation for formats.libconfig
(cherry picked from commit a891526b22)
2024-09-10 15:26:46 +00:00
h7x4
f326bccdbd nixos/doc: move implementation notes for formats.hocon to docs
(cherry picked from commit 141a8a6c86)
2024-09-10 15:26:46 +00:00
h7x4
e3d4cf9eeb nixos/doc: add documentation for formats.hocon
(cherry picked from commit 89aaab565e)
2024-09-10 15:26:46 +00:00
Jade Lovelace
43d39bad35 nixosTests.misc: fix override
This meant that pkgs.lix.passthru.tests.misc never evaluated.

It should be noted that it seems like completely different test
infrastructure is in use on master (25.11), or maybe it is just that the
same test got renamed to nix-misc. Either way, this is busted.
2024-09-10 13:51:45 +02:00
Maximilian Bosch
f3762903d6
nixos/prometheus-exporters/pgbouncer: don't leak DB password into cmdline
Since `connectionStringFile` reads the file and puts it into the
invocation of the exporter, it's part of the cmdline and thus
effectively world-readable.

Added a new `connectionEnvFile` which is supposed to be an environment
file of the form

  PGBOUNCER_EXPORTER_CONNECTION_STRING=...

that will be added to the systemd service. The exporter will read the
connection string from that value.

(cherry picked from commit 862ecd674f)
2024-09-09 22:54:13 +02:00
Maximilian Bosch
1a6587231b
nixos/prometheus-exporters: fix assertions declared in exporter modules
And it turns out, the test was using a removed option all along 🙃

(cherry picked from commit 4980a7d938)
2024-09-09 22:34:44 +02:00
K900
0a00d66fe6 nixos-install: fail if we can't set up bootloader
(cherry picked from commit fa39e3d642)
2024-09-09 13:22:53 +00:00
Cat
f41a13fc1b nixos/syncthing: implement folder type (#308832)
* Syncthing: implemented folder type

* Syncthing: fix syntax (via @johnhamelink )

This commit should be rebased/squashed into the previous one if ofborg cleares it!

Co-authored-by: John Hamelink <me@johnhame.link>

---------

Co-authored-by: John Hamelink <me@johnhame.link>
(cherry picked from commit ed1b6699c0)
2024-09-09 13:08:01 +00:00
Peder Bergebakken Sundt
bdb9b5d94a
[Backport release-24.05] docs: fix Nvidia casing to be consistent across different places (#336574) 2024-09-08 00:12:00 +02:00
Florian Agbuya
c2a2bf70c1 flarum: disable automatic DB creation
(cherry picked from commit 1032b5fa95)
2024-09-07 15:43:50 +00:00
Florian Agbuya
0e59203469 flarum: fix flarum directory permissions
(cherry picked from commit 249dacfaa8)
2024-09-07 15:43:50 +00:00
Justinas Stankevicius
db4e63a4e2 nixos/prowlarr: set HOME for the service
(cherry picked from commit 6e14231e83)
2024-09-03 10:08:36 +00:00
Peder Bergebakken Sundt
43d2816c1d
[Backport release-24.05] invidious: 2.20240427 -> 2.20240825.2 (#338811) 2024-09-02 17:16:20 -04:00
Emily
f778afc484
[24.05] python3Packages.{mautrix,matrix-nio}: add withOlm flags (#338843) 2024-09-02 03:41:25 +01:00
Niklas Hambüchen
114af9abab
[24.05] Backport fix for ceph with dmcrypt (#338630) 2024-09-01 20:49:25 +02:00
Artturin
891f087836
[Backport release-24.05] nixos/telegraf: make sure ping executable is available when trying to ping (#338740) 2024-09-01 21:29:28 +03:00
Emily
caef9784ec python3Packages.matrix-nio: add withOlm flag 2024-09-01 17:32:10 +01:00
Sandro
baca75692d
[Backport release-24.05] nixos/tsm-client: Fix multi-value dsm.sys options (#328031) 2024-09-01 18:11:53 +02:00
Gaetan Lepage
580de4d195 nixos/invidious: remove machine.config in test
(cherry picked from commit a1f7e3d10e)
2024-09-01 13:45:58 +00:00
Shea Levy
fbbd9323de
[Backport release-24.05] nixos/ipu6: Don't build out-of-tree driver for kernels that have it (#332240) 2024-09-01 06:33:05 -04:00
Echo Nolan
43e77c3a5f nixos/telegraf: make sure ping executable is available when trying to ping
We need ping to be in PATH of the service otherwise it can't ping. This commit
adds it, conditional on one of the inputs being a ping task.

(cherry picked from commit 934a337a13)
2024-09-01 04:25:31 +00:00
Will Fancher
d829513235 nixos/iso-image: Compress squashfs with zstd 19
(cherry picked from commit 49192ef7a3)
2024-08-31 18:39:20 +00:00
Emily
e2b77fb94c
[24.05] backport fcgiwrap instances fix for local privilege escalation issue (#331465) 2024-08-31 16:38:03 +01:00
euxane
8931f18bfa nixos/fcgiwrap: add security advisory links to messages 2024-08-31 17:15:42 +02:00
Niklas Hambüchen
d05b6e3573 ceph.tests: Fix maintainer eval
(cherry picked from commit def05db018)
2024-08-31 13:49:50 +00:00
benaryorg
31e495125b tests/ceph: bluestore, dmcrypt, and IPv6 test
Signed-off-by: benaryorg <binary@benary.org>

(cherry picked from commit 0cd631e61f)

The cherry-pick required

    -addresses = [ { Address = "${ip}/128"; } ];
    +addresses = [ { addressConfig.Address = "${ip}/128"; } ];

to account for the fact that the test was written for master commit

    c4fd7cf16d nixos/networkd: get rid of *Config attributes in lists

which is not in this branch.
2024-08-31 13:49:27 +00:00
Leona Maroni
cad30495d5
[Backport release-24.05] nixos/varnish: change default stateDir to /run (#337679) 2024-08-28 10:45:53 +02:00
Emery Hemingway
665a1853b5 nixos/eris-server: update comment
(cherry picked from commit f5b732e9bf)
2024-08-27 19:08:30 +00:00
Will Fancher
4797a40769
[Backport release-24.05] nixos/systemd/initrd: Fix emergencyAccess to work with null. (#336418) 2024-08-27 12:12:12 -04:00
Cosima Neidahl
b316d12227
[Backport release-24.05] lomiri.lomiri-gallery-app: init at 3.0.2 (#336579) 2024-08-27 16:20:44 +02:00
laalsaas
691e09524a nixos/varnish: change default stateDir to /run
The stateDir, or as varnish calls it, the workdir should always be a
tmpfs. Otherwise, performance issues may occur. See:

- https://varnish-cache.org/docs/trunk/reference/varnishd.html#opt-n

- https://github.com/varnishcache/varnish-cache/issues/4121

(cherry picked from commit 9e5316a1c5)
2024-08-27 10:22:15 +00:00
rnhmjoj
c794436285 nixos/tests/firewall: fix deprecation warning
(cherry picked from commit fa5ae18c14)
2024-08-25 13:07:35 +00:00
rnhmjoj
749b4b36d4 nixos/firewall: fix reverse path check failures with IPsec
The endpoint of an IPsec tunnel receives encrypted IPsec packets that
are first decrypted and then forwarded to the intended destination.
The decrypted traffic appears to originate from the same interface it
came in from, so in most cases these packets will fail the reverse path
check even if legitimate.

This change adds an exception to not reject packets that were previously
IPsec-encrypted, meaning the have been accepted, decrypted and are in
the process of being forwarded to their final destinal.

Sources:

  - https://www.kernel.org/doc/Documentation/networking/xfrm_device.txt
  - https://git.netfilter.org/nftables/commit/?id=49f6e9a846c6c8325b95debe04d5ebc3c01246fb
  - https://git.netfilter.org/nftables/commit/?id=8f55ed41d007061bd8aae94fee2bda172c0e8996
  - https://thermalcircle.de/doku.php?id=blog:linux:nftables_demystifying_ipsec_expressions

(cherry picked from commit 3c12ef3f21)
2024-08-25 13:07:35 +00:00
Bjørn Forsman
53d5d2be6d nixos/ups: restart upsdrv.service on config changes
Or else new configuration won't take effect until the next boot (or if
the user manually restarts the service).

(cherry picked from commit dc7379e04f)
2024-08-23 17:27:36 +02:00
Masum Reza
05e1e2736e
Merge pull request #336568 from GaetanLepage/zed
[release-24.05] zed-editor: remove package
2024-08-23 18:46:30 +05:30
OPNA2608
ec4dd6d792 tests/lomiri-camera-app: Fix backported test 2024-08-22 19:00:12 +02:00
OPNA2608
669d0c9dea nixos/lomiri: Add gallery app
(cherry picked from commit 8c1cb41408)
2024-08-22 18:59:56 +02:00
OPNA2608
d86677556f tests/lomiri-gallery-app: init
(cherry picked from commit cb0faa488a)
2024-08-22 18:59:49 +02:00
Adam Stephens
00abdbc620
nixos/tests/kanidm: bind certs path to fix ofborg tests
provision # [    8.223448] (kanidmd)[819]: kanidm.service: Failed to set up mount namespacing: /ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/ofborg-evaluator-1/nixos/tests/common/acme/server:
No such file or directory

(cherry picked from commit b93f6e4acd)
2024-08-22 12:55:23 -04:00
Rafael Fernández López
939643bb33 docs: fix Nvidia casing to be consistent across different places
(cherry picked from commit 7749696f61)
2024-08-22 16:52:05 +00:00
Gaetan Lepage
213edbbcfe [nixos-24.05] zed-editor: remove package
https://github.com/zed-industries/zed/issues/15757#issuecomment-2305101015
2024-08-22 18:48:52 +02:00
Eduard Bachmakov
987f6a5bf2 nixos/systemd/initrd: Fix emergencyAccess to work with null.
Implementation is now compatible with the option's .type already defined.

This allows us to pass `config.users.users.<user>.hashedPassword` even if this is null (the default).

Before:
true  => access
false => no access
hash  => access via password
null  => eval error

After:
true  => access
false => no access
hash  => access via password
null  => no access

(cherry picked from commit b33bf6b99a)
2024-08-21 22:42:12 +00:00
Masum Reza
b538a69ce8
Merge pull request #327380 from NixOS/backport-321010-to-release-24.05
[Backport release-24.05] virtualboxKvm: 20240515 -> 20240617
2024-08-21 15:07:44 +05:30
John Titor
acf94f31f7
nixos/hyprland: set systemd environment PATH for versions < 0.41.2
Importing PATH into the systemd environment is done by default in
Hyprland v0.41.2+ (https://github.com/hyprwm/Hyprland/pull/6640)
We soft deprecate this option here for versions >= 0.41.2.

(cherry picked from commit ff0738b736)
2024-08-19 10:32:27 +05:30
Reputable2722
86dc9c933c
nixos/hyprland: set path order for systemd user services
Set PATH order correctly for systemd user services (see NixOS/nixpkgs#320734

Signed-off-by: Reputable2722 <153411261+Reputable2772@users.noreply.github.com>
(cherry picked from commit dc423d5c69)
2024-08-19 10:32:26 +05:30
Leon
e8106db723
nixos/hyprland: use lib.mkDefault for enableWlrPortal
(cherry picked from commit 5b216845b6)
2024-08-19 10:32:26 +05:30
Leon
326d906fc4
nixos/hyprland: enable xdg.portal by default
(cherry picked from commit 9585e5d3aa)
2024-08-19 10:32:25 +05:30
John Titor
898641392c
nixos/wayland-session: cleanup
xwayland, wlr-portal ->
 enable-xwayland, enable-wlr-portal

(cherry picked from commit de77718887)
2024-08-19 10:32:25 +05:30
John Titor
ad1684cd48
nixos/wayland-session: force running xdg autostart for WM-only sessions
(cherry picked from commit 7b2a2824b3)
2024-08-19 10:32:25 +05:30
John Titor
00622e9fcf
nixos/hyprland: add fufexan as maintainer
Per https://github.com/NixOS/nixpkgs/pull/315827#issuecomment-2139073465

(cherry picked from commit 98f9f9951a)
2024-08-19 10:32:24 +05:30
John Titor
8d03ed3202
nixos/hyprland: disable wlr-portal for Hyprland
This commit:
- Adds wlr-portal override of wayland-session module (enabled by default)
- Disable it for hyprland module

(cherry picked from commit 0b0b7cefcc)
2024-08-19 10:32:24 +05:30
Thomas Gerbet
4840d50624 openstack-config: remove hardcoded default password for the root account
(cherry picked from commit 66c0275843)
2024-08-16 18:30:38 +00:00
Maximilian Bosch
7c23c073dc
Merge pull request #334640 from Ma27/backport-kernel-cleanup
[24.05] linux_6_8,linux_6_9: remove
2024-08-16 15:51:38 +02:00
Morgan Jones
e806a52f28
[Backport release-24.05] armagetronad: update 0.4; fix possible problem in installCheckPhase (#331239)
* armagetronad: fix installCheckPhase on hydra

(cherry picked from commit e6fc1e31ec9e7540f9321843b84b84404d5b3dcc)

* armagetronad: add passthru.tests

(cherry picked from commit 84d6bb650796c9bc3ad776aa62535487f957f43f)

* tests/armagetronad: increase memory allocation

(cherry picked from commit 5ff8ec524cf81cf147d37f20e700ad87f809db54)

* tests/armagetronad: increase timeout for busy Hydra server

(cherry picked from commit 648cf36656225541e38d7bfc76d18506aa861096)
2024-08-15 12:42:08 +05:30
Alyssa Ross
c13ad8e5c2
linux_6_8,linux_6_9: remove
EOL upstream.

This seems to mean we no longer need any patches to support modern
Rust versions in the kernel!

(cherry picked from commit ba0d495264)
2024-08-14 16:21:08 +02:00
Cosima Neidahl
3aa0401868
Merge pull request #331273 from NixOS/backport-325639-to-release-24.05
[Backport release-24.05] lomiri.lomiri-camera-app: init at 4.0.6
2024-08-14 16:08:23 +02:00
Julien Malka
cba99ebd9e
Merge pull request #333631 from NixOS/backport-325348-to-release-24.05
[Backport release-24.05] nixos/tests/systemd-boot: remove uefiLargeFileWorkaround test
2024-08-10 12:50:35 +02:00
Julien Malka
8be510a4ca
Merge pull request #332702 from sarunint/backport-253260-to-release-24.05
[24.05] nixos/systemd-boot: Add reboot-for-bitlocker support
2024-08-10 10:02:50 +02:00
Julien Malka
852281b669 nixos/tests/systemd-boot: remove uefiLargeFileWorkaround test
(cherry picked from commit 107fe87209)
2024-08-10 08:02:38 +00:00
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
euxane
fee11ef959 nixos/fcgiwrap: fail eval with security assertion
This adds a security assertion when using the global instance of
fcgiwrap, which is vulnerable to a local privilege escalation.

This is in addition to the current evaluation warning, and is more in
line with being loud with security issues, similarly to with vulnerable
packages.

The evaluation failure can nevertheless be bypassed by setting:
`services.fcgiwrap.allowGlobalInstanceLocalPrivilegeEscalation = true`.
2024-08-08 02:28:32 +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
Thibault Polge
2f55cdb11d nixos/systemd-boot: Add reboot-for-bitlocker support
Windows with BitLocker and TPM enabled doesn't support boot chaining.
This option activates a special experimental mode in systemd-boot that
tries to detect such systems and, if detected and selected by the user
at the boot menu, set the BootNext EFI variable to it before resetting.

(cherry picked from commit a68b81c429)
2024-08-06 18:12:59 +07: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
Shea Levy
486943af00 ipu6: Don't build out-of-tree driver for kernels that have it
(cherry picked from commit 3bfeae1428)
2024-08-04 13:12:19 +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
euxane
31cdff5baf nixos/cgit: use isolated fcgiwrap instance, add user/group options
This adds options to set the users and groups as which cgit instances
run, allowing the use of an unprivileged user instead of root.

"root" is kept as the default user to avoid breaking existing setups,
but a warning is shown in that case to alert the user.

Backport of:

commit 4f2da6c9c1
    nixos/fcgiwrap: add option migration instruction errors
    (partial: move to instances)
commit 3d10deb7a5
    nixos/cgit: fix GIT_PROJECT_ROOT ownership
commit 2d8626bf0a
    nixos/cgit: configurable user instead of root
commit c5dc3e2034
    nixos/fcgiwrap: adapt consumer modules and tests
commit 8101ae41f8
    nixos/fcgiwrap: adapt consumer modules and tests
commit bf2ad6f48c
    nixos/fcgiwrap: adapt consumer modules and tests
2024-08-02 10:51:17 +02:00
euxane
483dd7e3c6 nixos/zoneminder: use isolated fcgiwrap instance
Backport of:

commit fcb2a4a5ff
    nixos/zoneminder: set fcgiwrap socket owner
commit 4f2da6c9c1
    nixos/fcgiwrap: add option migration instruction errors
    (partial: move to instances)
commit 8101ae41f8
    nixos/fcgiwrap: adapt consumer modules and tests
commit bf2ad6f48c
    nixos/fcgiwrap: adapt consumer modules and tests
2024-08-02 10:51:17 +02:00
euxane
6a8e12421c nixos/smokeping: use isolated fcgiwrap instance
This makes the CGI part of smokeping run as the unprivileged
"smokeping" user like the rest of the service (instead of root).

This also sets proper permissions for the fcgiwrap control socket.

Backport of:

commit 4f2da6c9c1
    nixos/fcgiwrap: add option migration instruction errors
    (partial: move to instances)
commit c5dc3e2034
    nixos/fcgiwrap: adapt consumer modules and tests
commit 8101ae41f8
    nixos/fcgiwrap: adapt consumer modules and tests
commit bf2ad6f48c
    nixos/fcgiwrap: adapt consumer modules and tests
2024-08-02 10:51:17 +02:00
euxane
0cb1143443 nixos/fcgiwrap: add deprecation notice and security warning
This deprecates the use of the global shared instance of fcgiwrap,
due to its security issues (running as root by default, actually
insecure control socket, allowing local remote escalation privileges,
with no fix due to the multiple consumers).

A warning is added to encourage users to migrate to properly isolated
instances (`services.fcgiwrap.instances.*`).
2024-08-02 10:51:17 +02:00
euxane
aaa045714c nixos/fcgiwrap-instances: backport isolated multi-instance module
This backports the options `services.fcgiwrap.instances.*`,
allowing to configure isolated instances of fcgiwrap,
as an alternative to the global shared one.
This prepares the deprecation of the latter.

Backport of:

commit efc7aebda7
    nixos/fcgiwrap: require explicit owner for UNIX sockets
commit 4f2da6c9c1
    nixos/fcgiwrap: add option migration instruction errors
    (partial: move to instances)
commit 51b246a1ac
    nixos/fcgiwrap: do not run as root by default
commit 81f72015f0
    nixos/fcgiwrap: add unix socket owner, private by default
commit 289c1585c2
    nixos/fcgiwrap: limit prefork type to positives
commit 3955eaf450
    nixos/fcgiwrap: improve readability of CLI args
commit 022289f2fa
    nixos/fcgiwrap: group options logically, fix doc
commit 41419ca288
    nixos/fcgiwrap: refactor for multiple instances
2024-08-02 10:51:17 +02:00
OPNA2608
058334e3ee tests/lomiri: Drop OCR for starter content
It has started to take 10 minutes to get a match, and we open the starter more than once.

Let's just drop this check, ydotool helps alot with getting it open more reliably.

(cherry picked from commit 6e42f74cf9)
2024-07-31 11:59:36 +00:00
OPNA2608
38dc1ca235 nixos/lomiri: Add camera app
(cherry picked from commit 826486cd2f)
2024-07-31 11:59:36 +00:00
OPNA2608
303b5baac6 tests/lomiri-camera-app: init
(cherry picked from commit b45fe2e63c)
2024-07-31 11:59:36 +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