Commit graph

41745 commits

Author SHA1 Message Date
Artturin 53a2215917 nixosTests.misc: Revert nix changes
nix tests now moved to `nixosTests.nix-misc`

Revert "nixos/tests/misc: support old and new path-info output structure"

This reverts commit 903f315fe5.

Revert "nixos/tests/misc: call the tester `test` to be `callTest`-ed"

This reverts commit b35ccb7fda.

Revert "nixos/tests/misc: rework and take ownership"

This reverts commit 81854ca604.
2024-05-30 19:11:27 +03:00
Artturin e124b02edd nixosTests.nix-misc: Split from nixosTests.misc
Bit weird to have nix tests in misc

Add `artturin` to maintainers
2024-05-30 19:11:27 +03:00
euxane 0174aa1c56 nixos/stalwart-mail: rocksdb as default storage
This sets RocksDB as the default storage backend for `stateVersion` >=
24.11. For previous `stateVersion`s, the structured data and blobs
remain on SQLite and the filesystem respectively.

This is closer to the suggested upstream configuration for fully local
storage.
2024-05-30 16:22:03 +02:00
Jörg Thalheim 5da922e0d7
Merge pull request #315857 from mweinelt/misc-test-pathinfo-variants
nixos/tests/misc: support old and new path-info output structure
2024-05-30 16:05:06 +02:00
Martin Weinelt 4c43cdf564
Merge pull request #315855 from mweinelt/networkd-dhcp-server-static-reliable-client
nixos/tests/networkd: make client reliable in dhcpserver-static-leases test
2024-05-30 13:55:26 +02:00
Seaver Thorn 90b70f368d
nixos/xone: fixed a typo in the option description (#310419) 2024-05-30 14:53:04 +03:00
Martin Weinelt 903f315fe5
nixos/tests/misc: support old and new path-info output structure 2024-05-30 13:02:44 +02:00
Martin Weinelt 884a0835ef
nixos/tests/networkd: make client reliable in dhcpserver-static-leases test
Migrate the client to a native networkd configuration and reduce
unrelated log spam.
2024-05-30 12:29:36 +02:00
John Titor 98f9f9951a
nixos/hyprland: add fufexan as maintainer
Per https://github.com/NixOS/nixpkgs/pull/315827#issuecomment-2139073465
2024-05-30 14:25:36 +05:30
Sandro 357ccb3199
Merge pull request #314418 from SuperSandro2000/mopidy-online
nixos/mopidy: add wants network-online.target to fix warning
2024-05-30 10:16:35 +02:00
John Titor 0b0b7cefcc
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
2024-05-30 13:30:41 +05:30
Jonas Heinrich 0ef99565a9
Merge pull request #315745 from pacien/nixos-stalwart-default-directory-db
nixos/stalwart-mail: add default account directory
2024-05-30 09:37:30 +02:00
Jonas Heinrich dfad9bb515
Merge pull request #315710 from pacien/nixos-stalwart-log-update
nixos/stalwart-mail: migrate logging config
2024-05-30 09:34:28 +02:00
Francesco Gazzetta ce3303220a domination: 1.2.9 -> 1.3.0 2024-05-30 07:28:44 +00:00
Niklas Hambüchen 1be34af9f9
Merge pull request #315499 from nh2/turbovnc-fix-negative-test
turbovnc.tests: Fix negative test
2024-05-30 02:46:23 +00:00
Franz Pletz 4e1b4397d9
Merge pull request #312472 from Ma27/networkd-option-rename
nixos/networkd: get rid of *Config attributes in lists
2024-05-30 04:06:01 +02:00
Franz Pletz 6584af7321
Merge pull request #315743 from mweinelt/kea-2.6.0
kea: 2.4.1 -> 2.6.0
2024-05-30 03:59:49 +02:00
Martin Weinelt e0f4e4b535
Merge pull request #274425 from woffs/fix-274286
nixos/frr: adapt to frr-9
2024-05-30 02:33:26 +02:00
Sigmanificient e4764987ce nixos/tests/qtile: Run only on linux 2024-05-30 02:24:26 +02:00
github-actions[bot] 7476d0d0c9
Merge master into haskell-updates 2024-05-30 00:13:58 +00:00
euxane ddcbe4c369 nixos/stalwart-mail: add default account directory
This configures a default account directory for the Stalwart service.
It uses the default common database which was already configured.

Without this directory, admins could not manage users and groups using
the `stalwart-cli` tools.
2024-05-30 02:07:17 +02:00
Martin Weinelt bff993871e
nixos/tests/systemd-networkd-ipv6-prefix-delegation: set kea subnet id
Kea since version 2.6.0 requires it to be set.
2024-05-30 01:37:53 +02:00
Martin Weinelt cecc91b1b4
nixos/test/kea: set subnet id
They have become mandatory as of Kea 2.6.0.
2024-05-30 01:36:58 +02:00
lassulus d6f07be682
Merge pull request #314889 from DavHau/pr_sshd
nixos/openssh: allow removing settings
2024-05-30 01:01:07 +02:00
euxane 6ee84bcda0 nixos/stalwart-mail: do not use DynamicUser
This service stores a large number of files for its blob store and some
of its databases. This is not compatible with `DynamicUser`, which
`chown`s everything in the state directory every time the service is
started. Therefore, we now use a static system user and group instead.

See https://github.com/NixOS/nixpkgs/pull/313634#discussion_r1609960417
2024-05-30 00:40:12 +02:00
euxane 824949f300 nixos/stalwart-mail: migrate logging config
The logging configuration keys have changed,
which caused this config to be ignored.
2024-05-29 22:17:59 +02:00
Jade Lovelace 83eba84f9e
Merge pull request #315580 from lf-/jade/remove-old-nix-workaround
tree-wide: remove --build-users-group '' workaround for 10 year old Nix bug
2024-05-29 13:05:01 -06:00
Kerstin daa52e1d9e
Merge pull request #289582 from Izorkin/update-mastodon-redis
nixos/mastodon: update redis host and port configurations
2024-05-29 18:41:20 +02:00
Cosima Neidahl 0db9149e2a
Merge pull request #315627 from OPNA2608/fix/coolercontrold-nvidia-package
nixos/coolercontrol: Use user-preferred nvidia package
2024-05-29 16:44:07 +02:00
nikstur acba687721 nixos/version: remove strict type constraints from image options
This constraints aren't super useful because they arent really enforced
by the software, so it's hard to get them right and we've gotten them
wrong multiple times in the past. It's better to remove them altogether
in the spirit of RFC 42.
2024-05-29 16:13:41 +02:00
Sandro 9584ef2c26
Merge pull request #315189 from SuperSandro2000/gitea-maint 2024-05-29 15:49:00 +02:00
OPNA2608 07b369b5aa nixos/coolercontrol: Use user-preferred nvidia package 2024-05-29 15:21:41 +02:00
Someone 7781c1a927
Merge pull request #303682 from SomeoneSerge/feat/imgui-cmake
imgui: ship vcpkg' (cmake) distribution info
2024-05-29 12:48:33 +00:00
Izorkin 8730a7e8d8
nixos/mastodon: optimize systemd startup order block 2024-05-29 13:45:23 +03:00
Izorkin a05afb1437
nixos/mastodon: update redis host and port configurations 2024-05-29 13:45:17 +03:00
Jade Lovelace e60c7e080d nixos/systemd-boot-builder: remove workaround for 10 year old Nix bug
This was originally introduced in 9245516b46,
which reveals it is a workaround for a Nix bug from 10 years ago that
was *fixed* 10 years ago.

References:
https://github.com/NixOS/nix/pull/425
https://github.com/NixOS/nixpkgs/issues/5494
2024-05-29 02:52:47 -07:00
Frank Doepper 4df955130e nixos/frr: adapt to frr-9
- fix #274286
- remove `-f configfile` from ExecStart
- use /etc/frr/${service}d.conf
- enable mgmtd when staticd is enabled
- don't frr-reload.py mgmtd
- remove obsolete lib.mdDoc
2024-05-29 11:07:39 +02:00
Giel van Schijndel 83b38c6d30 nixos/netboot: only install syslinux on platforms where it's available
Instead of maintaining an inevitably incomplete list of unsupported
architectures.

I discovered this while building for armv7-linux (32-bit ARM).
2024-05-29 10:28:03 +02:00
Cosima Neidahl 33ce263359
Merge pull request #315117 from OPNA2608/fix/lomiri-24.05-buildable
lomiri.*: Make buildable while waiting for GLib fix
2024-05-29 08:43:42 +02:00
Niklas Hambüchen 613d50c1d5 turbovnc.tests: Replace comment link by newer NixOS manual link 2024-05-29 03:15:44 +00:00
Niklas Hambüchen cd519b6101 turbovnc.tests: Don't override already-empty password to empty 2024-05-29 03:12:28 +00:00
Niklas Hambüchen 1f77a3c14b turbovnc.tests: Fix passwordless test VM root login 2024-05-29 03:08:47 +00:00
Niklas Hambüchen 1be779cf3c turbovnc.tests: Fix negative test failing due to string grep 2024-05-29 03:07:43 +00:00
Lin Jian ad57eef4ef
Merge pull request #315149 from Cryolitia/ghostscript
nixos/steam: fix evaluation failure when `fonts.packages` contains path
2024-05-29 10:06:23 +08:00
Ivan Trubach a5499ee535 nixos/pghero: init 2024-05-29 03:40:48 +03:00
github-actions[bot] a3713f011c
Merge master into haskell-updates 2024-05-29 00:14:23 +00:00
Someone Serge fdf0e19b73 imgui: mention cmake integration in release notes 2024-05-28 19:58:02 +00:00
Jörg Thalheim bbead9b118
Merge pull request #315387 from jacg/release-notes
Release note tweaks
2024-05-28 19:31:20 +02:00
Christina Rust 343ddd9f4b
Merge pull request #315263 from srhb/devpi-loadcredential
nixos/devpi-server: fix loading credentials as DynamicUser
2024-05-28 19:22:40 +02:00
abysssol c01818d57c
Merge pull request #314722 from abysssol/ollama-split-listenaddress
nixos/ollama: split `listenAddress` into `host` and `port`
2024-05-28 15:37:51 +00:00
Jacek Generowicz 9c6861249c Further tweaks to release notes 2024-05-28 17:28:29 +02:00
Jacek Generowicz 005ef76e9e Consistently use capitalized Nix in plain text 2024-05-28 17:28:29 +02:00
Jacek Generowicz 9708aca853 Various tweaks to release notes 2024-05-28 17:28:29 +02:00
Jacek Generowicz e36f83eac4 Clean up the curious dwarf-fortress note 2024-05-28 17:28:28 +02:00
lucasew 4c621ef886 nixos/loki: add network.target to after
Signed-off-by: lucasew <lucas59356@gmail.com>
2024-05-28 12:02:04 -03:00
tcmal 7952d92b82 nixos/akkoma: dont disable protectsystem in confinement mode
this works fine since #289593
2024-05-28 15:47:03 +01:00
tcmal a247fc94b4 nixos/akkoma: deal with $RUNTIME_DIRECTORY containing multiple entries
this fixes issues with confined module tests.

see https://github.com/NixOS/nixpkgs/pull/313794#issuecomment-2126909110
2024-05-28 15:47:03 +01:00
Someone 93b5069466
Merge pull request #314840 from ereslibre/cdi-fix-egl
hardware/nvidia-container-toolkit: mount `nvidia-driver/share`
2024-05-28 12:50:40 +00:00
Jonas Heinrich 4217b9cd9a nixos/invoiceplane: Remove deprecated extraConfig 2024-05-28 14:07:44 +02:00
Maximilian Bosch 7ee58e38d3
nixos/tests/kernel-generic: add linux_rt_6_6
Noticed while reviewing #315121.
2024-05-28 11:38:06 +02:00
Jan Tojnar d552665012
Merge pull request #315046 from honnip/fix-gnome-extensions-test
nixosTests.gnome-extensions: fix test
2024-05-28 09:46:45 +02:00
Jonas Chevalier 5d6d058646
Merge pull request #308090 from mogeko/service-rke2
nixos/rke2: add rke2 service
2024-05-28 09:36:03 +02:00
Jörg Thalheim 7475325763
Merge pull request #315040 from JohnRTitor/hyprlock-module
nixos/hyprlock, nixos/hypridle: init module
2024-05-28 09:03:48 +02:00
Sarah Brofeldt 4d4571b20a nixos/devpi-server: fix loading credentials as DynamicUser 2024-05-28 08:58:24 +02:00
Mogeko b8e5799a63
nixos/tests/rke2: add tests for single-node and multi-node
For multi-node test, create a 3-node cluster (2 server nodes and 1 agent node) to test the connection between nodes.

Setup `passthru.tests`.
2024-05-28 12:39:38 +08:00
Mogeko a642efcdab
nixos/rke2: add rke2 service
Set assertions to avoid obvious errors.

Eliminate the conflict between default CNI (`cana`) and `NetworkManager`.

Determine whether optional can be used for agent.

Add the option `cisHardening` to enable CIS Hardening.

Set kernel parameters by `boot.kernel.sysctl`.

Using `lib.escapeShellArgs` to make `ExecStart` more resilient to escaping issues.

Using a list of `str` to extra flags.
2024-05-28 12:39:30 +08:00
北雁 Cryolitia 1652a914fd
nixos/steam: fix evaluation failure when fonts.packages contains path 2024-05-28 12:05:43 +08:00
github-actions[bot] 0cad2ef6d6
Merge master into haskell-updates 2024-05-28 00:13:28 +00:00
Tom Fitzhenry 25193bdc60 nixos/less: introduce programs.less.package
Allow users to set the package, e.g. to override withSecure to true.
2024-05-28 08:34:45 +10:00
Rafael Fernández López 79c79671a7 hardware/nvidia-container-toolkit: mount nvidia-driver/share 2024-05-27 23:44:32 +02:00
Sandro Jäckel 73c11de701
gitea,nixos/gitea: add SuperSandro2000 as maintainer, remove inactive maintainers, unify maintainers 2024-05-27 22:48:14 +02:00
Rebecca Turner d2618822ab haskell.lib.compose.justStaticExecutables: Forbid references to GHC
This makes `justStaticExecutables` error if the produced store path
contains references to GHC. This is almost always erroneous and due to
the generated `Paths_*` module being imported. This helps prevent
`justStaticExecutables` from producing binaries with closure sizes in
the gigabytes.

See: https://github.com/NixOS/nixpkgs/issues/164630

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2024-05-27 21:08:16 +02:00
OPNA2608 3ef60ac499 lomiri.telephony-service: Mark broken & exclude everywhere
Needs a GLib change to be fixed, which needs a staging cycle, which I was told won't happen in time anymore.
Luckily it's not a crucial component for the desktop mode.
2024-05-27 17:08:53 +02:00
Nikolay Korotkiy ecddd99c6a
nixos/gitDaemon: add package option 2024-05-27 18:50:15 +04:00
John Titor 353aa12446
nixos/hypridle: init 2024-05-27 17:41:36 +05:30
Sandro 77e9384f0f
Merge pull request #314428 from SuperSandro2000/nox-gst 2024-05-27 14:03:46 +02:00
John Titor 07a0b79ed1
nixos/hyprlock: init module 2024-05-27 17:32:22 +05:30
Honnip b2069e7fc7
nixosTests.gnome-extensions: ENABLED and DISABLED states are renamed
01e9724d75
Fix the test failure caused by the renaming of the states name from `ENABLED`, `DISABLED` to `ACTIVE` and `INACTIVE`
2024-05-27 18:04:55 +09:00
Sandro 99d60e5489
Merge pull request #314948 from Izorkin/update-pinentry-tty 2024-05-27 11:04:18 +02:00
Honnip d7062ba870
nixosTests.gnome-extensions: emoji-selector has been removed 2024-05-27 17:57:48 +09:00
Thomas Gerbet 00015f3ef9
Merge pull request #309036 from tomfitzhenry/sshd-package
nixos/ssh: add services.openssh.package
2024-05-27 09:40:31 +02:00
Will Fancher 0415aec200
Merge pull request #297250 from NickCao/sysuser
nixos/systemd-sysusers: make uid/gid allocation stable
2024-05-26 20:17:06 -04:00
Franz Pletz e047b23254
Merge pull request #313844 from superherointj/nginx-libgd-optional 2024-05-27 02:10:55 +02:00
Robert Scott d7ac3b8504
Merge pull request #314573 from justinas/teleport-15-3-7
teleport_15: 15.2.2 -> 15.3.7,  teleport_14: 14.3.0 -> 14.3.20, teleport_13: remove
2024-05-26 22:44:01 +01:00
Izorkin 3381fdd745
nixos/no-x-libs: add pinentry-tty 2024-05-27 00:22:07 +03:00
Maximilian Bosch a5f800ab48
Merge pull request #311701 from Ma27/bump-grafana
grafana: 10.4.2 -> 11.0.0
2024-05-26 20:47:56 +00:00
Justinas Stankevicius 07709ea936 teleport_13: remove 2024-05-26 23:43:40 +03:00
Jörg Thalheim f33f71f6f6
Merge pull request #240989 from m-bdf/hyprland-wayland-session
nixos/{sway,river,hyprland}: improve common wayland-session module
2024-05-26 22:06:53 +02:00
Sandro Jäckel db66127c5b
nixos/no-x-libs: make sure gst-plugins-base has enableGl disabled 2024-05-26 20:51:00 +02:00
Sandro Jäckel cb58275dc6
nixos/no-x-libs: build gst-plugins-rs without gtk 2024-05-26 20:51:00 +02:00
DavHau 3fe773a174 nixos/openssh: allow removing settings
# Motivation
So far it was not possible to configure sshd to allow password authentication only for a specific user. This is because in the generated config a `Match User xxx` section would be required before the global `PasswordAuthentication` is defined, as otherwise the global option always takes precedence.
The same problem occurs with multiple other options under `settings`.

# Done
This PR fixes that issue for all settings by simply allowing them to be overridden with `null`, which leads to a removal of that setting from the config.
The user can then correctly configure user specific settings using extraConfig, like this:
```
    Match User user1
    PasswordAuthentication yes
    Match all
    PasswordAuthentication no
```
2024-05-26 18:46:27 +02:00
北雁 Cryolitia 164f66169a
nixos/steam: add option fontPackages
fix #178121
2024-05-26 22:55:38 +08:00
北雁 Cryolitia efef69a51d
nixos/steam: add option extraPackages 2024-05-26 22:03:50 +08:00
Pol Dellaiera 017ee1411d
Merge pull request #314433 from SuperSandro2000/mpv-nox
nixos/no-x-libs: fix mpv build
2024-05-26 07:56:52 +02:00
abysssol 428e60cad9 nixos/ollama: split listenAddress into host and port
breaking change; do not backport
2024-05-25 21:22:15 -04:00
fuggy ef5ff2a075
nixos/xdg/portal: Fix typo
There was a typo that misspelled /etc/ as /etx/
2024-05-25 17:26:15 -05:00
superherointj f2a202ff38 nixos/doc/rl-2411: nginx now has gd, geoip as an optional 2024-05-25 12:12:50 -03:00
Peter Lehmann 09be64ecc8
nixos/prometheus: Add query_log_file option 2024-05-25 17:03:24 +02:00
gaykitty 43b1df204b stargazer: 1.1.0 -> 1.2.1 2024-05-25 10:38:39 -04:00
ivan770 1b288bca00
nixos/etc: support direct symlinks with etc overlay 2024-05-25 08:41:24 -04:00
sodiboo 0fa287f2ff nixos/invidious-router: maintianers.s1ls -> maintainers.sils 2024-05-25 13:10:20 +02:00
Arian van Putten 2eee7f2352
Merge pull request #314523 from arianvp/update-ami-docs
nixos/amazon-image:  Drop create-amis.sh script and update docs
2024-05-25 12:55:52 +02:00
Pol Dellaiera d091b7f681
Merge pull request #313112 from savyajha/firefly-iii
firefly-iii: 6.1.15 -> 6.1.16
2024-05-25 10:41:44 +02:00
Arian van Putten a48cd7d56f nixos/amazon-image: Drop create-amis.sh script and update docs
We replaced this with automation in https://github.com/NixOS/amis

Also add some docs how you can build the image yourself
2024-05-25 10:01:02 +02:00
Yt 1777f06494
Merge pull request #314244 from onny/stalwart-cleanup
stalwart-mail_0_6: drop
2024-05-25 01:59:37 +00:00
Sandro Jäckel b9ec2c14d8
nixos/no-x-libs: fix mpv build by disabling drmSupport, disable more GUI only relevant features 2024-05-25 02:36:13 +02:00
Sandro Jäckel 2a8e5155c9
nixos/no-x-libs: add libplacebo 2024-05-25 02:36:12 +02:00
éclairevoyant 04548e7e1f
nixos/journalwatch: add package option 2024-05-24 19:11:54 -04:00
Sandro Jäckel b064e2db69
nixos/mopidy: add wants network-online.target to fix warning 2024-05-25 00:43:18 +02:00
Silvan Mosberger 6c42e8745a
Merge pull request #309517 from bobrippling/fix/ebusd-args
Fix ebusd service argument passing
2024-05-24 23:25:28 +02:00
Atemu 061a135d05
Merge pull request #309585 from diniamo/global-steam-compat-paths-var
nixos/steam: add protontricks submodule
2024-05-24 20:17:35 +02:00
Vladimir Timofeenko f41e387c26
nixos/frigate: drop BindPaths from systemd service (#309341)
Migrations have been working well even with misconfigured BindPaths => removing
2024-05-24 18:24:56 +02:00
Andrew Morgan fad7ecc30f mealie: set the correct port in BASE_URL
Otherwise it would default to port 8080, which breaks generated links
when `cfg.port` is set to another port.
2024-05-24 09:17:47 -05:00
Andrew Morgan fc81ca6408 mealie: add 'anoa' as maintainer
I'm happy to help maintain this package going forwards.
2024-05-24 09:17:47 -05:00
James Atkins bcaf6de467 mealie: 1.2.0 -> 1.7.0
https://github.com/mealie-recipes/mealie/releases/tag/v1.7.0
2024-05-24 09:17:42 -05:00
Someone 67d54c2e29
Merge pull request #312811 from aidalgol/libxnvctrl-shared
linuxPackages.nvidia_x11.libXNVCtrl: make the shared library available
2024-05-24 13:35:19 +00:00
Jonas Heinrich 50388b71cc nixos/stalwart-mail: add onny as maintainer 2024-05-24 12:26:13 +02:00
Jonas Heinrich 2d53258c2e nixos/tests/stalwart-mail: add onny as maintainer 2024-05-24 12:25:54 +02:00
Jonas Heinrich 3c80361f9a nixos/stalwart-mail: add release notes 2024-05-24 12:25:33 +02:00
Jonas Heinrich dfe479c64e nixos/tests/stalwart-mail: drop legacy package 2024-05-24 12:20:38 +02:00
Jonas Heinrich 3d6a20f380 nixos/stalwart-mail: drop legacy package 2024-05-24 12:15:50 +02:00
Weijia Wang a64a502cd7
Merge pull request #313251 from lucc/nvimpager
nvimpager: 0.12.0 -> 0.13.0
2024-05-24 10:14:29 +02:00
K900 69aa70cddf
Merge pull request #307766 from SuperSandro2000/oauth2-proxy-fix-headers
nixos/oauth2_proxy_nginx: fix proxy_set_header
2024-05-24 10:48:07 +03:00
diniamo fcaec6bdf7 nixos/steam: add protontricks submodule 2024-05-24 08:51:37 +02:00
Pol Dellaiera d9062cd5f9
Merge pull request #313146 from malteneuss/add-nextjs-ollama-llm-ui
Add nextjs ollama llm UI frontend for Ollama
2024-05-24 06:51:37 +02:00
Aidan Gauland 4e353b67f6
nixos/nvidia: make libXNVCtrl available on nvidia systems 2024-05-24 15:54:18 +12:00
pennae 4d2462511f
Merge pull request #314099 from mrkline/snapper-and-borgbackup-doc-fix
nixos/snapper, nixos/borgbackup: Fix module doc typo
2024-05-24 01:15:09 +02:00
Sandro 3e3ac0e7ba
Merge pull request #305516 from OPNA2608/init/lomiri/ayatana-indicator-display
ayatana-indicator-display: init & add to Lomiri
2024-05-24 00:40:55 +02:00
Malte Neuss 8a05b4f8d4 nixos/nextjs-ollama-llm-ui: init module
NixOS already has good support for the Ollama
backend service. Now we can benefit from
having a convenient web frontend as well for it.
2024-05-23 23:48:55 +02:00
Matt Kline 234f4db797 nixos/snapper, nixos/borgbackup: Fix module doc typo
The persistentTimer argument sets the _Persistent_ field in
systemd.timer(5).

Pointed out in #312549
2024-05-23 14:23:40 -07:00
Lin Jian 4be6150a4c
Merge pull request #313822 from linj-fork/pr/kanata-config-file
nixos/kanata: add a configFile option
2024-05-24 02:53:42 +08:00
Sandro d836a3e678
Merge pull request #307499 from SuperSandro2000/bwdc-network-online
nixos/bitwarden-directory-connector-cli: add dependsOn network-online…
2024-05-23 20:47:05 +02:00
OPNA2608 01152519d6 nixos/tests/lomiri: Fix sound indicator subtest name
It's an ayatana one, not a lomiri one.
2024-05-23 20:40:15 +02:00
Nick Cao 9a0eef506d
Merge pull request #314038 from icewind1991/hydra-fix-init-script
nixos/hydra: fix typo in hydra init script
2024-05-23 14:38:44 -04:00
OPNA2608 d29e469f2a nixos/lomiri: Add display indicator 2024-05-23 20:37:34 +02:00
OPNA2608 d4a5183180 ayatana-indicator-display: init at 24.5.0 2024-05-23 20:35:51 +02:00
Sandro f53713e2cf
Merge pull request #304893 from SuperSandro2000/portunus-note
nixos/portunus: add note about allowed characters to id
2024-05-23 20:10:52 +02:00
Robin Appelman c64e560c86 nixos/hydra: fix typo in hydra init script 2024-05-23 19:25:12 +02:00
Linus Heckemann cf50bd0aa1 nixos/networking: use mkIfs on the inner attributes
This is a bit more compact and yields the same evaluation results.
2024-05-23 17:46:15 +02:00
Sandro Jäckel f221b4f5f5
nixos/oauth2_proxy_nginx: fix proxy_set_header 2024-05-23 16:34:37 +02:00
Bobby Rong e967f2f99c
Merge pull request #313416 from bobby285271/upd/pantheon-tweaks
pantheon-tweaks: 1.1.2 -> 2.0.1
2024-05-23 21:26:59 +08:00
Lucas Hoffmann eff2e77eee nvimpager: 0.12.0 -> 0.13.0 2024-05-23 14:57:33 +02:00
superherointj 4bd2ec8619
Merge pull request #313974 from GaetanLepage/nixos-test-driver
nixosTests.nixos-test-driver: fix ruff check
2024-05-23 09:39:52 -03:00
Gaetan Lepage 622ccf42c2 nixosTests.nixos-test-driver: fix ruff check 2024-05-23 14:30:23 +02:00
Sandro 6a82eb34cc
Merge pull request #305127 from OPNA2608/init/lomiri/ayatana-indicator-sound 2024-05-23 14:03:14 +02:00
Sandro 360221d4bf
Merge pull request #313096 from onny/stalwart-fix-test 2024-05-23 13:54:39 +02:00
Isabelle 56141e2236
nixos/wireguard: add option preShutdown for commands called before interface deletion (#310345) 2024-05-23 13:53:45 +02:00
Sandro 445809871d
Merge pull request #313228 from SuperSandro2000/asf-no-web-ui 2024-05-23 13:12:54 +02:00
Martin Weinelt aee13d3d9a
nixos/wyoming*: depend on network-online.target
Ordering it after network-online.target only makes sense, if it actually
gets requested.
2024-05-23 10:43:33 +02:00
Martin Weinelt 5d515c373e
nixos/kea: make ctrl-agent want network-online.target
If it wants to run after it, it needs to want it for it to be there.
2024-05-23 10:31:30 +02:00
Florian Klink fadd3fef94
Merge pull request #304322 from ElvishJerricco/sd-s1-resolved
nixos/systemd-stage-1: Support resolved
2024-05-23 10:46:51 +03:00
Thomas Watson 5aa9fc9273 nixos/stage-1-init: notify during copytoram
Demystifies a long pause at an unrelated message, particularly if the
source media is slow.
2024-05-22 18:43:18 -05:00
Lin Jian d679ddfcab
nixos/kanata: add a configFile option
This brings two benefits.  For one thing, it exposes the generated
config file which users can build separately to validate it.  For
another, it allows users to provide their own config file.
2024-05-23 06:42:41 +08:00
Jeremy Baxter 20fc095a1c nixos/oink: init module 2024-05-23 10:12:53 +12:00
Maëlys Bras de fer 95674de399 nixos/{river,hyprland}: override package using apply 2024-05-22 20:01:05 +02:00
Maëlys Bras de fer bcbeccfa7d nixos/{sway,river,hyprland}: cleanup 2024-05-22 19:45:46 +02:00
Maëlys Bras de fer a4160dfe88 nixos/hyprland: use generic wayland-session module 2024-05-22 19:43:21 +02:00
Maëlys Bras de fer cf159c437d nixos/{sway,river}: make XWayland support optional 2024-05-22 19:43:19 +02:00
Nick Cao b72dc8eb43
Merge pull request #313440 from Kiskae/nvidia/555.42.02
linuxPackages.nvidiaPackages.beta: 550.40.07 -> 555.42.02
2024-05-22 13:20:09 -04:00
Jacek Generowicz 028cc4b606
doc/release-notes: more release note edits (#313730)
* Move watchdogd to correct section

* Move FileSender to correct position

* Reword

* Add TODO querying meaning of dwarf-fortress note

* Remove comments suggesting random item placement

* Add comments asking to maintain alphabetical order
2024-05-22 18:57:12 +02:00
Weijia Wang f7da007372 doc/release-notes: update codename 2024-05-22 18:48:39 +02:00
Alyssa Ross aa0ce1a26e qemu: enable canokey by default
Given that we were overriding qemu_test to enable this anyway,
enabling this by default saves Hydra a QEMU build.

There's also clear demand from users[1] for this feature, so our
alternatives are:

 - Offer a qemu-canokey attribute.  I don't want to do this, because I
   don't think there's any reason to make Hydra build an extra QEMU.

 - Enable it only for qemu_test.  I don't want to do this, because it
   will lead to users using qemu_test without understanding its
   subtleties.

 - Force users to build from source.  I don't think there's any reason
   to do this when it's unlikely to hurt anybody having it enabled by
   default.  There's no reason to single out canokey to be disabled by
   default in spite of users' needs given that we enable so many other
   optional QEMU features.

[1]: https://github.com/canokeys/canokey-qemu/issues/6
2024-05-22 18:26:30 +02:00
Weijia Wang 4a817d2083 24.05 is Vicuña 2024-05-22 18:15:34 +02:00
Markus Theil 650b034813 doc/release-notes: add frr 10.0 BGP
Signed-off-by: Markus Theil <theil.markus@gmail.com>
2024-05-22 15:01:44 +00:00
Bobby Rong 735a11d300
nixos/pantheon-tweaks: remove
You can just add the app to environment.systemPackages.
2024-05-22 21:58:16 +08:00
Kiskae fbdcdde04a nixos/nvidia: apply nixfmt-rfc-style 2024-05-22 13:46:52 +02:00
Martin Weinelt a68d0e6819
Merge pull request #312771 from mweinelt/garage-data-dir
nixos/garage: support 0.9.0+ data_dir format
2024-05-22 13:18:36 +02:00
Martin Weinelt 07a26ae742
nixos/garage: support 0.9.0+ data_dir format
https://garagehq.deuxfleurs.fr/documentation/reference-manual/configuration/#data_dir
2024-05-22 13:12:46 +02:00
Jacek Galowicz 03fda24206
Merge pull request #313619 from dawidd6/test-driver-ruff
nixos/test-driver: adjust to ruff changes
2024-05-22 13:03:21 +02:00
Dawid Dziurla f8a88fd22c
nixos/test-driver: adjust to ruff changes 2024-05-22 11:29:02 +02:00
Pol Dellaiera 543582d5e2
Merge pull request #313473 from thenhnn/filesender-packaging-filesender-module
nixos/filesender: init
2024-05-22 09:55:41 +02:00
K900 6ac507dd08
Merge pull request #309127 from omentic/plasma6
plasma6: mark dolphin + spectacle as optional packages & reorganize dependencies
2024-05-22 10:48:17 +03:00
Rob Pilling 5458b62cf7 ebusd: fix argument passing, separate using an equals (=) 2024-05-22 07:58:26 +01:00
Nydragon 70b284d60c
nixos/thunderbird: init module
Addition of the thunderbird policies and about:config options to reflect
firefox's capabilities and to allow system wide locking of options.
2024-05-22 14:55:16 +09:00
nhnn 3d47565193
nixos/filesender: init module 2024-05-22 08:37:48 +03:00
Weijia Wang d1bfb4c502 nixos/release-notes: sort, cleanup 2024-05-22 03:41:27 +02:00
Will Fancher bfdba4d081 nixos/tests: systemd-resolved in stage 1 2024-05-21 20:55:50 -04:00
Will Fancher 072054ccb5 nixos/systemd-stage-1: Support systemd-resolved 2024-05-21 20:55:37 -04:00
Will Fancher dd0ebdffcd nixos/systemd-stage-1/dbus: Fix systemd services 2024-05-21 20:55:37 -04:00
Peder Bergebakken Sundt 64076cea1d
Merge pull request #312518 from dali99/bluemap
bluemap: init at 3.21, and init module
2024-05-22 01:09:49 +02:00
Weijia Wang d8c7ea7586
Merge pull request #313382 from Moraxyc/fix-step-ca-test
nixosTests.step-ca: fix journal error
2024-05-22 00:39:10 +02:00
Weijia Wang 536826e05d
Merge pull request #313298 from Moraxyc/fix-tigervnc-test
nixosTests.tigervnc: fix test
2024-05-22 00:36:55 +02:00
Yt 15c7efd37c
Merge pull request #313020 from jpds/nixos-test-vector-api+clickhouse
nixos/vector: Tests for API/Clickhouse
2024-05-21 21:25:31 +00:00
Fabián Heredia Montiel 13003e44c5
Merge pull request #313236 from NixOS/update-hardened
Linux hardened kernels for 2024-05-20
2024-05-21 14:34:49 -06:00
Martin Weinelt 98d2dbc78d
Merge pull request #312591 from r-ryantm/auto-update/navidrome
navidrome: 0.52.0 -> 0.52.5
2024-05-21 21:43:12 +02:00
Martin Weinelt 90916525a6
nixos/navidrome: set empty settings default
This will not affect the options, but allows to not configure settings at
all, if you don't need to. Unbreaks the NixOS test, which relies on this
behavior.

Fixes: #312757
2024-05-21 21:23:35 +02:00
Jonas Heinrich 2c4128ea01 nixos/stalwart-mail: use publicsuffix-list package
Co-authored-by: shawn8901 <shawn8901@googlemail.com>
2024-05-21 21:09:38 +02:00
Jonas Heinrich 4c626c52b7 nixos/tests/stalwart-mail: Add test for server version >= 0.7 2024-05-21 21:05:21 +02:00
Jade Lovelace f953913c65 nixos/gnupg: remove dead code 2024-05-21 11:45:27 -07:00
Kiskae a4cbb24e12 nixos/nvidia: enable firmware for new beta driver 2024-05-21 20:39:00 +02:00
Jonathan Davies af4a391424
nixos/vector: Added DNSTAP testcase 2024-05-21 19:31:10 +01:00
Jonathan Davies 8dc825ca36
nixos/vector: Added nginx→clickhouse test case 2024-05-21 19:14:55 +01:00
Jonathan Davies 1b27c58827
nixos/vector: Added testcase for verifying API endpoint 2024-05-21 19:14:52 +01:00
Jonathan Davies 87cb265588
nixos/vector: Moved existing test to subdirectory 2024-05-21 18:41:00 +01:00
Daniel Olsen 718819092b nixos/bluemap: init module 2024-05-21 19:16:21 +02:00
Pol Dellaiera 4bb2fe0d38
Merge pull request #312251 from thenhnn/filesender-packaging-simplesamlphp-module
nixos/simplesamlphp: init
2024-05-21 17:12:11 +02:00
OPNA2608 af545969b6 nixos/lomiri: Add sound indicator 2024-05-21 16:15:23 +02:00
OPNA2608 a7440c7873 ayatana-indicator-sound: init at 24.4.0 2024-05-21 16:02:50 +02:00
Sandro b4bf5efd73
Merge pull request #305092 from OPNA2608/init/lomiri/ayatana-indicator-power 2024-05-21 16:01:47 +02:00
nikstur cf1909ddd0
Merge pull request #301772 from hertrste/junit-xml-prod
nixos/test-driver: Add Junit XML report creation
2024-05-21 15:07:10 +02:00
Moraxyc 212d236936
nixosTests.step-ca: fix journal error 2024-05-21 20:21:26 +08:00
K900 8257910e21
Merge pull request #313167 from K900/plasma-6-isos
nixos/release-combined: ship Plasma 6 ISOs instead of Plasma 5
2024-05-21 14:53:54 +03:00
Alexander Bantyev 047433f472
Merge pull request #313243 from AleXoundOS/castopod
nixosTests.castopod: fix timeout
2024-05-21 14:55:43 +04:00
nhnn 3e14c44e21
nixos/simplesamlphp: init module 2024-05-21 11:47:39 +03:00
Will Fancher 9231977e86 nixos/tests: systemd-resolved 2024-05-21 02:41:22 -04:00
Will Fancher 154459858f nixos/systemd-resolved: Should be wanted by sysinit.target
As per its [Install] section upstream
2024-05-21 02:41:22 -04:00
Will Fancher 146bffe5aa nixos/systemd-resolved: Re-indent 2024-05-21 02:41:22 -04:00
Bjørn Forsman 1f82020865 nixos/tests/keepalived: use openFirewall option
Instead of networking.firewall.extraCommands.
2024-05-21 08:35:46 +02:00
Moraxyc 1de961a89c
nixosTests.tigervnc: fix test 2024-05-21 13:16:56 +08:00
Peder Bergebakken Sundt 087055ed4f
Merge pull request #293118 from xyven1/harden-plex-service
nixos/plex: Harden plex service
2024-05-21 00:37:47 +02:00
OPNA2608 98c84e67e4 nixos/lomiri: Add power indicator 2024-05-21 00:10:42 +02:00
OPNA2608 6539b60f0b ayatana-indicator-power: init at 24.1.0 2024-05-21 00:10:42 +02:00
Fabián Heredia Montiel 79081fda5e linux/hardened/patches/6.9: init at 6.9.1-hardened1
- ACPI_CUSTOM_METHOD: dropped in 0cc46f1a52b4220ec11d98a01575909ca820a7b4
- UBSAN_SANITIZE_ALL: dropped in 918327e9b7ffb45321cbb4b9b86b58ec555fe6b3
2024-05-20 15:13:13 -06:00
Alexander Tomokhov 992735db22 nixosTests.castopod: fix mp3 generation
Fix `--cbr` encoding mode.
2024-05-21 00:29:56 +04:00
Alexander Tomokhov dddad8555c nixosTests.castopod: fix timeout
Increase HTTP request timeout in selenium.
2024-05-21 00:28:29 +04:00
Sandro Jäckel 02e9c36e59
nixos/archisteamfarm: fix crash when web-ui is disabled 2024-05-20 22:23:29 +02:00
Pol Dellaiera 04636fec37
Merge pull request #312757 from eclairevoyant/navidrome-fix
nixos/navidrome: fix settings type
2024-05-20 22:18:12 +02:00
nessdoor 633479572e
nixos/nsswitch: add support for overriding sudoers entries (#310818) 2024-05-20 12:28:31 -04:00
K900 bf4890c37d nixos/release-combined: ship Plasma 6 ISOs instead of Plasma 5 2024-05-20 18:57:36 +03:00
Maximilian Bosch f9f943b36e
nixos/networking: use optionalAttrs -> mkIf for networkd route generation
Suggested in https://github.com/NixOS/nixpkgs/pull/312472#discussion_r1605894882
2024-05-20 17:30:21 +02:00
Maximilian Bosch c4fd7cf16d
nixos/networkd: get rid of *Config attributes in lists
This patch is about removing `wireguardPeerConfig`,
`dhcpServerStaticLeaseConfig` - a.k.a. the
AbstractSingletonProxyFactoryBean of nixpkgs - and friends.

As a former colleague said

> worst abstraction ever

I second that. I've written enough networkd config for NixOS systems so
far to have a strong dislike. In fact, these don't even make sense:
`netdevs.wireguardPeers._.wireguardPeerConfig` will be rendered into
the key `[WireGuardPeer]` and every key from `wireguardPeerConfig` is in
there. Since it's INI, there's no place where sections on the same level
as wireguardPeerConfig fit into. Hence, get rid of it all.

For the transition, using the old way is still allowed, but gives a
warning. I think we could drop this after one release.

The tests of rosenpass and systemd-networkd-dhcpserver-static-leases
were broken on the rev before, hence they were updated, but are still
not building.
2024-05-20 17:26:42 +02:00
Savyasachee Jha eee8b0bff3 nixos/firefly-iii: Changes to module and tests
Module has been fixed and now uses the maintenance service to cache
settings so as to not require environment files wherever possible.

The tests now test using mariadb and postgresql as well as sqlite to be
more complete. A test has been added for testing whether app.js has been
compiled successfully, as well as to check whether the cronjob fires
successfully.
2024-05-20 17:51:35 +05:30
Raghav Sood 4fb81447eb
Merge pull request #313053 from jeremyschlatter/hvm2
hvm: 1.0.9 -> 2.0.12
2024-05-20 16:15:52 +08:00
Pol Dellaiera a041ac59a9
Merge pull request #311608 from fsagbuya/flarum
flarum: init at 1.8.1, module
2024-05-20 09:19:31 +02:00
Jeremy Schlatter eb9c0fab4b
hvm: 1.0.9 -> 2.0.12 2024-05-19 21:21:59 -07:00
Tom Fitzhenry 05b0c4973f nixos/screen: fix assertion to actually execute
See https://github.com/NixOS/nixpkgs/issues/312194#issuecomment-2115239401 for explanation why the assertion currently fails to run.
2024-05-20 13:46:21 +10:00
Florian Agbuya 7ad171b5ad nixos/flarum: init module 2024-05-20 11:20:07 +08:00
Raghav Sood 4cd4ad242e
Merge pull request #311188 from gileri/geth-1.14.3
go-ethereum: 1.13.5 -> 1.14.3
2024-05-20 09:03:02 +08:00
Raito Bezarius 2759c33ca3 garage: drop maintenance
Given the current situation, I have not been able to take care of
anything related to that module. Upgrades are merged without upgrading
properly the module, unfortunately.

This caused too much divergence and I still do not have the energy to
take care of it.

I will leave it to the more active recent committers who touched the
module to take it from there.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-05-19 23:01:36 +02:00
Cosima Neidahl bd9b1718a9
Merge pull request #311428 from OPNA2608/fix/lomiri-tests-ydotool
nixos/tests/lomiri: Use ydotool for mouse control
2024-05-19 20:57:25 +02:00
Sandro 8036f1ffa7
Merge pull request #285138 from michaelBelsanti/espanso
nixos/espanso: add wayland and package option
2024-05-19 19:15:22 +02:00
Sandro 28ecfe6e7b
Merge pull request #312489 from Shawn8901/sddm-wayland-only
nixos/sddm: dont generate X11 node if disabled
2024-05-19 18:06:23 +02:00
Sandro 52f4cce004
Merge pull request #308423 from Moraxyc/add-artalk
artalk: init at 2.8.6
2024-05-19 18:06:08 +02:00
Sandro 46334c6b31
Merge pull request #304812 from onny/stalwart-update
stalwart-mail: 0.6.0 -> 0.8.0; rocksdb_8_11: init at 8.11.4
2024-05-19 18:04:14 +02:00
Sandro 5497cebc92
Merge pull request #304257 from Raroh73/add/commafeed
commafeed: init at 4.3.3
2024-05-19 17:44:06 +02:00
Aleksana f1f4eb1e36
Merge pull request #312626 from jpds/step-ldflags-version
step-ca: Set version in ldflags so this is correctly displayed in startup
2024-05-19 22:12:11 +08:00
Jonas Heinrich 1f4329cde6 nixos/stalwart-mail: pin module to package version 0.6 2024-05-19 14:17:31 +02:00
Pol Dellaiera 006641f290
Merge pull request #312623 from jpds/nixos-test-step-caddy
nixos/step-ca: Added Caddy example to integration tests
2024-05-19 10:55:17 +02:00
Pol Dellaiera 63af8c029c
Merge pull request #312785 from emilylange/fix-nixos-loki-config-validation
nixos/loki: skip config validation when it's impossible to validate
2024-05-19 10:40:32 +02:00
Pol Dellaiera 5f1abb30b2
Merge pull request #311986 from NyCodeGHG/nixos/rosenpass/fix-credentials
nixos/rosenpass: move preStart into script to workaround systemd bug
2024-05-19 09:35:52 +02:00
Aleksana 07c88f35d2
Merge pull request #311692 from superherointj/k3s-k3s_1_30
k3s: k3s_1_29 -> k3s_1_30
2024-05-19 13:38:58 +08:00
superherointj b94bc3b0c4 nixos/rl-2405: k3s was upgraded to 1.30
Co-authored-by: @wrmilling
2024-05-19 00:55:51 -03:00
emilylange 100c1501e1
nixos/loki: skip config validation when it's impossible to validate
This is a follow-up to 8d7f3c9dbd and
ae48735c53.

Running the config validation in the build sandbox is impossible and
will fail when using `cfg.configFile` or `-config.expand-env=true`.

`cfg.configFile` is a string of a path which is simply not available to
the build sandbox.

Similarly, one may opt to use `cfg.configuration` with environment
variables in combination with `-config.expand-env=true`.

The environment variables referenced that way are also not available
in the build sandbox.

So we skip the validation when it's impossible (`cfg.configFile`) or
likely impossible (`-config.expand-env=true`).

An alternative approach would be something like nixos/prometheus'
`services.prometheus.checkConfig` that takes a boolean and makes
toggling the config validation user-facing.
2024-05-19 05:15:26 +02:00
éclairevoyant a74fd69291
nixos/navidrome: run nixfmt-rfc-style 2024-05-18 19:32:19 -04:00
éclairevoyant 18e089be7f
nixos/navidrome: fix settings type 2024-05-18 19:32:19 -04:00
Marcus Ramberg b7d845292c
Merge pull request #308813 from anthonyroussel/update-nagios
nagios: 4.5.1 -> 4.5.2
2024-05-19 00:03:53 +01:00
TNE 4582b524ba
pgadmin: Use systemd's LoadCredential for password files (#312569)
* pgadmin: Use systemd's LoadCredential for password files

* Update nixos/modules/services/admin/pgadmin.nix

---------

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-05-19 00:16:00 +02:00
Pol Dellaiera aa5d9c30f8
Merge pull request #309236 from ElvishJerricco/sd-s1-fix-xfs-fsck
nixos/systemd-stage-1: Fix fsck.xfs needing bash's sh symlink
2024-05-18 23:57:04 +02:00
Jonathan Davies 52743c88f5
nixos/step-ca: Added test case for finding package version in journald logs 2024-05-18 22:24:04 +01:00
Jack Wilsdon 391dfcf9af nixos/steam: fix maintainers 2024-05-18 21:50:10 +01:00
JJ d9443cb26b
plasma6: move ffmpegthumbs to optional, clarify comments 2024-05-18 13:41:50 -07:00
Sandro c21d10ba30
Merge pull request #263375 from lorenzleutgeb/benchexec
benchexec: init at 3.21
2024-05-18 15:52:30 +02:00
Jonathan Davies d01d430342
nixos/step-ca: Added Caddy example to integration tests. 2024-05-18 10:43:23 +01:00
Bjørn Forsman 3983b7677d nixos/rl-2405: fix typo in chromium DRM change entry
stanging -> standing

Fixes: e4f185cfaf ("nixos/rl-2405: mention chromium DRM change")
2024-05-18 10:58:12 +02:00
crayor1 970f689a49
nixos/doc: fix a typo in option-declarations.section.md (#304733)
Fix a typo
2024-05-18 13:06:50 +08:00
Aleksana 419fffedfb
Merge pull request #295846 from linsui/yazi
nixos/yazi: support plugins and flavors
2024-05-18 12:44:27 +08:00
Fabián Heredia Montiel d6801d9d85
Merge pull request #308833 from whentze/linux-hardened-update
Linux Hardened Kernels 2024-05-03
2024-05-17 22:03:14 -06:00
Lorenz Leutgeb 9f2f6359bb nixos/doc/rl-2405: mention BenchExec and friends 2024-05-17 21:24:06 +02:00
Lorenz Leutgeb 88d736df69 nixos/benchexec: init 2024-05-17 21:24:05 +02:00
Lorenz Leutgeb 1dd4d2283e nixos/pqos-wrapper: init 2024-05-17 21:24:05 +02:00
Lorenz Leutgeb c250e8ee94 nixos/cpu-energy-meter: init 2024-05-17 21:21:50 +02:00
Moraxyc da28a5ff2a
nixos/artalk: init module 2024-05-18 02:15:33 +08:00
Aleksana 9c4874ae8c
Merge pull request #307011 from acid-bong/qtile-final
nixos/qtile: add finalPackage option
2024-05-18 01:55:08 +08:00
OPNA2608 9c5ceeb61e nixos/tests/lomiri: Use ydotool for mouse control
Certain elements are not reachable via the keyboard, and some keyboard-centric methods for testing elements have flaky downsides.
2024-05-17 19:52:56 +02:00
linsui ced6734812 yazi: add config files to wrapper 2024-05-18 01:52:43 +08:00
linsui 4826bc455d nixos/yazi: support plugins and flavors 2024-05-18 01:52:34 +08:00
Shawn8901 ef5142ec5b nixos/sddm: dont generate X11 node if disabled 2024-05-17 19:27:32 +02:00
Wanja Hentze 62bfa65656 linux/hardened/patches/6.8: init at 6.8.9-hardened1 2024-05-17 18:09:01 +02:00
tomberek 2c55e033f2
Merge pull request #306909 from mrkline/snapper-timer
nixos/snapper: Add persistent option to config
2024-05-17 10:01:04 -05:00
Lin Jian 805191d9fb
Merge pull request #309455 from c-leri/nixos/fix/thermald-adaptative
nixos/thermald: improve doc and code about configFile and adaptive
2024-05-17 21:15:43 +08:00
nikstur 203f99022a
Merge pull request #312212 from nikstur/os-release-uapi-version-format
nixos/version: support UAPI Version Format in IMAGE_VERSION field
2024-05-17 10:54:17 +02:00
K900 5233d62dcc
Merge pull request #312292 from Naxdy/work/kdeconnect-module-sshfs
nixos/kdeconnect: don't install `sshfs`
2024-05-17 07:23:57 +03:00
Tomáš Kuča 71ce6b582b
nixos/network-interfaces: prevent failure when a network address already exists
The original code tests output of `ip addr add` command to detect if an
adress already exists. The error message was changed in the past and the
test no longer works.

The patch replaces `ip addr add` with `ip addr replace`. The new command
replaces an existing address or creates a new one if there isn't any.

fixes 306841
2024-05-17 01:02:29 +02:00
Felix Buehler 615d19beb3 nixos/swap: prefer 'umask' over 'chmod' 2024-05-16 23:53:47 +02:00
Pol Dellaiera 7a338b0feb
Merge pull request #312294 from drupol/erratum-fix-pr-311999
nixos/loki: use `cfg.package`
2024-05-16 23:08:21 +02:00
Pol Dellaiera 3da72dcbc5
Merge pull request #312249 from dotlambda/nextcloud
nixos/nextcloud: correct latest version
2024-05-16 22:27:52 +02:00
Pol Dellaiera ae48735c53
nixos/loki: use cfg.package 2024-05-16 22:11:19 +02:00
Pol Dellaiera 84d184a31e
Merge pull request #311999 from jpds/loki-verify-config
nixos/loki: Implement configuration verification
2024-05-16 21:57:29 +02:00
Naxdy a765cd4a70
nixos/kdeconnect: don't install sshfs
see https://github.com/NixOS/nixpkgs/pull/311269 - it's now hardcoded
2024-05-16 21:48:34 +02:00
Jade Lovelace 007f0f90aa
Merge pull request #311574 from lf-/jade/fix-nixos-installtest-nixos-option
nixosTests.installer: test nixos-option anew
2024-05-16 10:00:23 -07:00
Yarny0 d93fb1bd10 nixos/hardware/printers: fix ppdOptions of ensured printers
Commit a52e27d4f6
changed the `ensurePrinter` mechanism such that it uses
`lib.cli.toGNUCommandLineShell` to assemble the
`lpadmin` command line that creates the required printer.
Before that commit, the command line contained
single quotes (')to protect certain options from being
(mis-)interpreted by the shell.
The new mechanism no longer needs those quotes as
`lib.cli.toGNUCommandLineShell` takes care of quoting/escaping.
Unfortunatelly, the commit missed the
quotes around the `-o` command line part.
`lib.cli.toGNUCommandLineShell` now properly escapes
those quotes, thereby including them in the effective
command line arguments that are passed to `lpadmin`.
The result is that no option is applied anymore.

The commit at hand simply removes the superfluous quotes.
With this change, options are again properly applied as before.
2024-05-16 18:55:28 +02:00
Maximilian Bosch d5f39744c8
Merge pull request #309953 from flyingcircusio/PL-132430-percona-innovation
percona: restructure releases according to upstream release policy
2024-05-16 16:35:08 +00:00
Robert Schütz dce84c46d7 nixos/nextcloud: correct latest version 2024-05-16 08:53:01 -07:00
celeri 12e2e82939
nixos/thermald: improve doc and code about configFile and adaptive 2024-05-16 11:41:56 -04:00
Pol Dellaiera 2ca9ba37bc
Merge pull request #311299 from thenhnn/filesender-packaging-php-format
pkgs/formats: add generator for PHP config files
2024-05-16 16:45:26 +02:00
Ilan Joselevich 49ba95b9a3
Merge pull request #310115 from Nanotwerp/virt-manager-dconf
nixos/virt-manager: use `dconf` to autoconnect `QEMU/KVM`
2024-05-16 16:47:23 +03:00
nikstur ff776981fe nixos/version: support UAPI Version Format in IMAGE_VERSION field
Add '~' and '^' to the supported characters for the field. These
characters are needed to be able to define all versions that are
compatible with the UAPI Version Format specification.

One example where this is used is the `%A` flag in systemd.unit. If we
don't allow these other characters, we for example cannot declare a
pre-relase version.

systemd, as far as I can tell, doesn't enforce any restrictions on the
os-release fields.

https://uapi-group.org/specifications/specs/version_format_specification/
2024-05-16 15:37:41 +02:00
Weijia Wang b6f403758f
Merge pull request #312169 from B4dM4n/remove-alias-usage
treewide: Remove usage of pkgs.{system,hostPlatform} aliases
2024-05-16 15:25:10 +02:00
Aleksana 7d94720e49
Merge pull request #312181 from Moraxyc/fix-atop-mkSystemd
nixos/atop: fix mkSystemd
2024-05-16 20:54:52 +08:00
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
Moraxyc e704b94191
nixos/atop: fix mkSystemd 2024-05-16 19:53:25 +08:00
nhnn 083f211783
pkgs: add PHP to formats.nix 2024-05-16 13:07:34 +03:00
Fabian Möller da68f358bc
treewide: Remove usage of pkgs.{system,hostPlatform} aliases
These aliases should not be used inside nixpkgs and are only there for backward
compatibility.
2024-05-16 11:48:32 +02:00
Aleksana 770a6c6cf2
Merge pull request #312144 from jcaesar/pr-5
nixos/firefox: fix use of listToAttrs
2024-05-16 16:11:37 +08:00
Julius Michaelis f303b593a2 nixos/firefox: fix use of listToAttrs
Broken in #304773
Fixes #312098
2024-05-16 16:15:52 +09:00
Franz Pletz 389408695e
Merge pull request #311479 from fpletz/nixos-test/mediamtx-sleep
nixos/tests/mediamtx: make more robust, reformat
2024-05-16 07:57:51 +02:00
Yt c8a9664fac
Merge pull request #311790 from jpds/vector-test-metrics
nixos/vector: Added Prometheus exporter integration to tests
2024-05-15 23:21:48 +00:00
Jade Lovelace f05ecf16e6
Merge pull request #250638 from benley/keycloak-systemd-notify
nixos/keycloak: Add systemd startup notification
2024-05-15 14:13:20 -07:00
Benjamin Staffin b45bb628ea nixos/oauth2_proxy: Conditionally depend on keycloak.service
Co-Authored-By: Jade Lovelace <software@lfcode.ca>
2024-05-15 14:10:26 -07:00
Martin Weinelt 10955966a5
Merge pull request #311916 from wegank/pretalx-plugins-init
pretalx: add a few plugins
2024-05-15 21:41:03 +02:00
Jonathan Davies 8d7f3c9dbd
nixos/loki: Implement configuration verification
Fixes: #293088
2024-05-15 18:12:10 +01:00
Marie Ramlow 6478f80b17 nixos/rosenpass: move preStart into script to workaround systemd bug
Because of a systemd bug, using both ExecStartPre and ExecStart will fill up the systemd credentials directory,
which leads to rosenpass failing to start.
This will be fixed in systemd v256, see https://github.com/systemd/systemd/pull/31202

Related issue: https://github.com/NixOS/nixpkgs/issues/258371
2024-05-15 17:52:45 +02:00
Raghav Sood ec2f5e1cb9
Merge pull request #309615 from mkienitz/fix/vsftpd-assertion
Fix/vsftpd assertion
2024-05-15 23:09:28 +08:00
Pol Dellaiera 4275fc290a
Merge pull request #293817 from PatrickDaG/your_spotify
nixos/your_spotify: init at 1.10.1
2024-05-15 16:45:23 +02:00
Martin Weinelt 29fd61c784
nixos/tests/pretalx: test pages plugin install 2024-05-15 16:27:25 +02:00
Martin Weinelt f4f9f96037
nixos/pretalx: add plugins option
Allow loading pretalx plugins in a declarative manner. They are passed
into the package dependencies at build time, so that collectstatic and
other django maintenance functions account for them, since we cannot
regenerate assets at runtime anyway.
2024-05-15 16:24:24 +02:00
Jonas Heinrich b3fcfcfabd
Merge pull request #311766 from pacien/stalwart-0-6-0-module-fixes
nixos/stalwart-mail: module and test fixes for v0.6.0
2024-05-15 14:04:30 +02:00
Jonathan Davies c97e5f8d17
nixos/vector: Added Prometheus exporter/Vector logs integration to tests. 2024-05-15 12:10:26 +01:00
Florian Klink ea6604c03a nixosTests.garage: migrate replicationMode to string
Do the same config change steps the assertion asks users to.
2024-05-15 11:50:11 +02:00
Florian Klink 24ace2abee nixos/garage: assert that replication_mode is string
The explicit `replication_mode` option in `services.garage.settings`
has been removed and is now handled by the freeform settings in order
to allow it being completely absent (for Garage 1.x).
That module option previously `toString`'ed the value it's configured
with, which is now no longer possible.
Warn the user if they're still using a non-string here.
2024-05-15 11:48:25 +02:00
Florian Klink 1284b4f7fa Reapply "nixos/garage: drop replication_mode setting"
This reverts commit 67cf6279d0.

Reintroduce the option, we'll fix it in followup commits.
2024-05-15 11:39:21 +02:00
teutat3s 948c550669
nixosTests.garage: run test for garage_1_x
Add reminder comment to add new versions to tests
2024-05-15 11:09:41 +02:00
Weijia Wang 88b7d613f5
Merge pull request #311689 from teutat3s/zhf/virtualbox-tests
nixosTests.virtualbox: fix tests, remove minimal profile
2024-05-15 10:56:39 +02:00
Yureka 67cf6279d0
Revert "nixos/garage: drop replication_mode setting" 2024-05-15 09:51:48 +02:00
Aleksana b30832e018
Merge pull request #311814 from donovanglover/fix/enableOCR-docs
nixos/testing: fix markdown link in enableOCR description
2024-05-15 15:32:09 +08:00
Pol Dellaiera ec2ac8ec82
Merge pull request #275485 from Ex-32/binfmt-emulatedsystems-fix
nixos/binfmt: added assertion to prevent emulation of current system
2024-05-15 08:58:12 +02:00
Donovan Glover 4afa9444ae
nixos/testing: fix markdown link in enableOCR description 2024-05-14 21:22:09 -04:00
euxane aa107a60c4 nixos/stalwart-mail: fix vm test for v0.6.0
This migrates the syntax for a few configuration values,
which now need to be quoted strings for user values.

This also disables the use of a public resolver,
which is not accessible in the sandbox.
2024-05-15 00:45:21 +02:00
euxane f4c5060ecc nixos/stalwart-mail: set default lookup storage
This configuration key is now required.
The shared default DB is a good default.
2024-05-15 00:42:08 +02: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
Benjamin Staffin 64c94bd40a nixos/keycloak: Add systemd startup notification
This makes it possible for other systemd units to depend on
keycloak.service using `after` and `wants` relationships, and systemd
will actually wait for Keycloak to finish its initialization before
starting any dependent units.  This can be important for services like
oauth2-proxy, which (when configured to use Keycloak as its auth
provider) will fail to start until Keycloak's
`.well-known/openid-configuration` endpoint is available.
2024-05-14 14:26:35 -04:00
Maximilian Bosch 0118cc1d67
grafana: 10.4.2 -> 11.0.0
Announcement: https://grafana.com/docs/grafana/latest/whatsnew/whats-new-in-v11-0/
ChangeLogs:
* https://github.com/grafana/grafana/releases/tag/v11.0.0
* https://github.com/grafana/grafana/blob/v11.0.0/CHANGELOG.md#1100-preview

Legacy notifiers were removed and could thus be removed from the module.
2024-05-14 19:03:25 +02:00
teutat3s bb99280c9c
nixosTests.virtualbox: remove minimal profile
This fixes build failures with the wayland dependency:
Quoting @nevivurn:
"guestadditions->...->wayland, but the test config pulls in
modules/profiles/minimal.nix which disables xlibs and thus it won't build"

Co-authored-by: Yongun Seong <nevivurn@nevi.dev>
2024-05-14 18:14:45 +02:00
Nick Cao ff610bbb02
Merge pull request #311376 from SuperSandro2000/display-managers-misc
nixos/display.managers: use cfg where possible
2024-05-14 09:36:02 -04: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
Tom Fitzhenry 54ba3732f1 hostapd: add "wpa2-sha1" to authentication.mode enum
This is required for some Kindles (e.g. Kindle Paperwhite 7th Gen),
and printers (e.g. Brother MFC-J4440DW).

OpenWRT typically adds "wpa_key_mgmt = WPA-PSK", per 3f28c422ba/package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh (L44-L71)
2024-05-14 19:28:15 +10:00
Jade Lovelace 099671c419 nixosTests.installer: test nixos-option anew
Someone put a FIXME in here. The FIXME looked really old. I uncommented
out the thing and it still passes. Calling this fixed.
2024-05-13 23:34:03 -07:00
gileri 59ba3dd518
go-ethereum: 1.13.5 -> 1.14.3 2024-05-14 00:13:22 +02:00
Asad Saeeduddin ebbd29d695
nixos/doc: clarify command template parameter
squash-reworded from #284844
2024-05-14 00:05:24 +02:00
Guillaume Girol 673f00ad7b
Merge pull request #310199 from symphorien/borg_ignore_warnings_master
nixos/borgbackup: add an option to ignore warnings
2024-05-13 23:53:18 +02:00
Franz Pletz 8e7ebfe4f5
nixos/tests/mediamtx: make more robust, reformat
We're sleeping now until the timeout of the receive service is reached
to check for its state since it might fail until the stream is
available.
2024-05-13 23:47:34 +02:00
Franz Pletz fc96e711c3
Merge pull request #310823 from WilliButz/systemd-initrd/fix-aarch64-modprobe-test 2024-05-13 23:03:39 +02:00
Weijia Wang 1fbd31f24d
Merge pull request #311293 from diogotcorreia/pgvecto.rs-broken-pg12-pg13
pgvecto-rs: mark as broken in pg12 and pg13
2024-05-13 23:02:50 +02:00
Patrick 05b36f060d
nixosTests.your_spotify: init 2024-05-13 22:12:17 +02:00
Patrick 77a6460e74
nixos/your_spotify: init 2024-05-13 22:10:13 +02:00
Yongun Seong 7715ce37e7 nixosTests.fcitx5: make test less flaky 2024-05-13 19:06:22 +02:00
Raroh73 1f2c3812d4
nixos/llama-cpp: fix rocm support 2024-05-13 17:01:33 +02:00
K900 37c6c6315b
Merge pull request #310786 from K900/greetd-plymouth
nixos/greetd: add option to make greetd not stop Plymouth early
2024-05-13 17:41:29 +03:00
Sandro Jäckel 4b1e83e97c
nixos/display.managers: use cfg where possible 2024-05-13 15:59:28 +02:00
Sandro 2616ccbcac
Merge pull request #310926 from Gerg-L/display-manager 2024-05-13 15:59:17 +02:00
Cosima Neidahl 068c0e3c95
Merge pull request #303745 from quantenzitrone/ydotool
ydotool: refactor ; nixos/ydotool: init module & nixosTest
2024-05-13 15:49:49 +02:00
OPNA2608 8621da969e doc/release-notes: add finishing dot for ydotool entry 2024-05-13 15:46:00 +02:00
Florian Klink 2a2f796888
Merge pull request #308801 from jmbaur/switch-to-configuration-rs
nixos/switch-to-configuration: add new implementation
2024-05-13 15:39:09 +02:00
Aleksana 5e1830b877
Merge pull request #311318 from toadjaune/doc-fix-download-links
doc: Fix nixos download page links
2024-05-13 19:54:43 +08: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
Florian Klink c8b2579f1f
Merge pull request #309643 from flokli/garage-replication_mode
nixos/garage: drop replication_mode setting
2024-05-13 12:59:23 +02:00
Arnaud Venturi a01a9a3f5f doc: Fix nixos download page links
Those two links are currently broken, update them to point to the
up-to-date nixos download page.
2024-05-13 12:54:22 +02:00
Pavol Rusnak 83fc4bfacc
Merge pull request #310141 from MrMebelMan/init/keto 2024-05-13 12:40:58 +02:00
Quantenzitrone 483392f209
nixosTests.ydotool: init
Co-authored-by: Cosima Neidahl <opna2608@protonmail.com>
2024-05-13 12:22:06 +02:00
Quantenzitrone 73d91cdd70
nixos/ydotool: init module
Co-authored-by: Cosima Neidahl <opna2608@protonmail.com>
2024-05-13 12:21:57 +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
K900 446ec6d9ab
Merge pull request #310350 from oddlama/fix-oauth2-proxy
nixos/oauth2-proxy: fix invalid comparison between list and attrset
2024-05-13 13:06:41 +03:00
Michael Peyton Jones cd981c1cc6
tzupdate: remove michaelpj as maintainer 2024-05-13 10:57:00 +01:00
Michael Peyton Jones bf5bec1538
arbtt: remove michaeplj as maintainer 2024-05-13 10:56:59 +01:00
Vladyslav Burzakovskyy 5a37ed1bc0 keto: init at 0.13.0-alpha.0 2024-05-13 11:41:49 +02:00
Franz Pletz 5f8fffdec4
Merge pull request #310819 from ilya-epifanov/thermald-config-fix
thermald: fixed handling of an external config
2024-05-13 11:34:12 +02:00
Jörg Thalheim ba37bf5f3d
Merge pull request #307076 from flokli/caddy-reload
nixos/caddy: don't set ExecReload if enableReload is disabled
2024-05-13 10:45:28 +02:00
Diogo Correia 101e8a0a2b
pgvecto-rs: mark as broken in pg12 and pg13
Upstream (accidentally) broke support for postgresql 12 and 13 on
v0.2.1 by changing the signature of the `from_datum` function[^1].
This went unnoticed since the release branch `0.2` did not have CI.
Furthermore, they are removing support for these versions of postgresql
on v0.3.0[^2].

[^1]: 97e861d51d
[^2]: https://github.com/tensorchord/pgvecto.rs/issues/343
2024-05-13 09:25:06 +01:00
Florian Klink 2ec060b94e nixos/zsh: remove lib.lib
This fails my NixOS configuration:

```
       error: attribute 'lib' missing

       at /nix/store/ninrqc3pblnmqgh489cbr9rq5pijcpd6-nixpkgs-src/nixos/modules/programs/zsh/zsh-syntax-highlighting.nix:90:7:

           89|     programs.zsh.interactiveShellInit =
           90|       lib.lib.mkAfter (lib.concatStringsSep "\n" ([
             |       ^
           91|         "source ${pkgs.zsh-syntax-highlighting}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
```
2024-05-13 10:21:47 +02:00
Martin Weinelt 9731a32d81
Merge pull request #309115 from NyCodeGHG/nixos/miniflux-sd-notify
nixos/miniflux: use systemd notify and watchdog
2024-05-13 10:12:37 +02:00
Yureka aa64bb27ba nixos/garage: add assertion for replication_factor 2024-05-13 10:03:21 +02:00
Friedrich Altheide 64512b6200 virtualboxGuestAdditions: Add dragAndDrop service 2024-05-13 06:36:03 +02:00
Martin Weinelt 5a9b28e88b
Merge pull request #311197 from endocrimes/dani/fish-boogaloo
nixos/fish: Fix more lib references
2024-05-13 01:22:34 +02:00
Danielle Lancashire d0e35cbd3e
nixos/fish: Fix more lib references 2024-05-13 01:18:49 +02:00
Florian Klink aff6a121a3
Merge pull request #311039 from DavHau/pr_smokeping
nixos/smokeping: use nginx instead of thttpd
2024-05-13 01:11:59 +02:00
Danielle Lancashire f26c2aa2fc
nixos/fish: fix reference to mapAttrsFlatten 2024-05-13 00:58:30 +02:00
aszlig e4bd1e8f92
nixos/confinement: Use prio 100 for RootDirectory
One of the module that already supports the systemd-confinement module
is public-inbox. However with the changes to support DynamicUser and
ProtectSystem, the module will now fail at runtime if confinement is
enabled (it's optional and you'll need to override it via another
module).

The reason is that the RootDirectory is set to /var/empty in the
public-inbox module, which doesn't work well with the InaccessiblePaths
directive we now use to support DynamicUser/ProtectSystem.

To make this issue more visible, I decided to just change the priority
of the RootDirectory option definiton the default override priority so
that whenever another different option is defined, we'll get a conflict
at evaluation time.

Signed-off-by: aszlig <aszlig@nix.build>
2024-05-13 00:40:41 +02:00
aszlig 0a9cecc35a
nixos/systemd-confinement: Make / read-only
Our more thorough parametrised tests uncovered that with the changes for
supporting DynamicUser, we now have the situation that for static users
the root directory within the confined environment is now writable for
the user in question.

This is obviously not what we want and I'd consider that a regression.
However while discussing this with @ju1m and my suggestion being to
set TemporaryFileSystem to "/" (as we had previously), they had an even
better idea[1]:

> The goal is to deny write access to / to non-root users,
>
>   * TemporaryFileSystem=/ gives us that through the ownership of / by
>     root (instead of the service's user inherited from
>     RuntimeDirectory=).
>   * ProtectSystem=strict gives us that by mounting / read-only (while
>     keeping its ownership to the service's user).
>
> To avoid the incompatibilities of TemporaryFileSystem=/ mentioned
> above, I suggest to mount / read-only in all cases with
> ReadOnlyPaths = [ "+/" ]:
>
>   ...
>
> I guess this would require at least two changes to the current tests:
>
>   1. to no longer expect root to be able to write to some paths (like
>      /bin) (at least not without first remounting / in read-write
>      mode).
>   2. to no longer expect non-root users to fail to write to certain
>      paths with a "permission denied" error code, but with a
>      "read-only file system" error code.

I like the solution with ReadOnlyPaths even more because it further
reduces the attack surface if the user is root. In chroot-only mode this
is especially useful, since if there are no other bind-mounted paths
involved in the unit configuration, the whole file system within the
confined environment is read-only.

[1]: https://github.com/NixOS/nixpkgs/pull/289593#discussion_r1586794215

Signed-off-by: aszlig <aszlig@nix.build>
2024-05-13 00:40:40 +02:00
aszlig 27f36b5e57
nixos/tests/confinement: Parametrise subtests
This is to make sure that we test all of the DynamicUser/User/Group and
PrivateTmp options in a uniform way. The reason why we need to do this
is because we recently introduced support for the DynamicUser option and
since there are some corner cases where we might end up with more
elevated privileges (eg. writable directories in some cases), we want to
make sure that the environment is as restrictive as with a static
User/Group assignment.

I also removed various checks that try to os.chown(), since with our new
recursive checker those are redundant.

Signed-off-by: aszlig <aszlig@nix.build>
2024-05-13 00:40:38 +02:00
aszlig 51d3f3475c
nixos/tests/confinement: Run test probes in Python
So far the architecture for the tests was that we would use a systemd
socket unit using the Accept option to start a small shell process where
we can pipe commands into by connecting to the socket created by the
socket unit.

This is unnecessary since we can directly use the code snippets from the
individual subtests and systemd will take care of checking the return
code in case we get any assertions[^1].

Another advantage of this is that tests now run in parallel, so we can
do rather expensive things such as looking in /nix to see whether
anything is writable.

The new assert_permissions() function is the main driver behind this and
allows for a more fine-grained way to check whether we got the right
permissions whilst also ignoring irrelevant things such as read-only
empty directories.

Our previous approach also just did a read-only check, which might be
fine in full-apivfs mode where the attack surface already is large, but
in chroot-only mode we really want to make sure nothing is every
writable.

A downside of the new approach is that currently the unit names are
numbered via lib.imap1, which makes it annoying to track its definition.

[^1]: Speaking of assertions, I wrapped the code to be run with pytest's
      assertion rewriting, so that we get more useful AssertionErrors.

Signed-off-by: aszlig <aszlig@nix.build>
2024-05-13 00:40:36 +02:00
aszlig f7d026b431
nixos/tests/confinement: Move to dedicated dir
When experimenting on ways how to refactor the test, I wrote a
significant enough amount of Python to warrant a dedicated Python file.

This commit is mainly to prepare for that and make it easier to track
renames.

Signed-off-by: aszlig <aszlig@nix.build>
2024-05-13 00:40:34 +02:00
aszlig ba31b3753e
nixos/tests/confinement: Re-add description attr
The reason why I originally used the "description" attribute was that it
can be easily used to parametrise the tests so that we can specify
common constraints and apply it across a number of different
configurations.

When porting the tests to Python, the description attribute was replaced
by inlining it into the Python code, most probably because it was easier
to do in bulk since using Nix to generate the subtest parts would be
very complicated to do since we also had to please Black (a Python code
formatter that we no longer use in test scripts).

Since we now also want to support DynamicUser in systemd-confinement,
the need to parametrise the tests became apparent again because it's now
easier to refactor our subtests to run both with *and* without
DynamicUser set to true.

Signed-off-by: aszlig <aszlig@nix.build>
2024-05-13 00:40:32 +02:00
Julien Moutinho 0a5542c766
nixos/systemd-confinement: support ProtectSystem=/DynamicUser=
See https://discourse.nixos.org/t/hardening-systemd-services/17147/14
2024-05-13 00:40:25 +02:00
Jade Lovelace 553dab119b
Merge pull request #311158 from lf-/jade/remove-outdated-maintainership
nixos: remove historical maintainership of modules by eelco
2024-05-12 13:26:25 -07:00
Franz Pletz ef26d99b37
Merge pull request #310873 from ivan/radvd-debuglevel
nixos/radvd: add debugLevel option
2024-05-12 22:23:24 +02:00
Pol Dellaiera 378c5c67ed
Merge pull request #310348 from ehmry/nginx-validateConfigFile
nixos/nginx: add validateConfigFile option
2024-05-12 21:58:59 +02:00
Weijia Wang 4433bbfd2a
Merge pull request #304773 from acid-bong/no-libs
treewide: remove file-wide `with lib;` uses in nixos/modules/programs
2024-05-12 21:52:15 +02:00
Jade Lovelace 3fd324f823 nixos: remove historical maintainership of modules by eelco
Eelco has made several early contributions to NixOS including writing
the samba module among other things, but is more or less inactive these
days.

By my brief inspection, he has not committed to the nixos/ tree since
releasing Nix 2.13 in early 2023 and merging a PR to networking tests
slightly before that. A lot of these tests/modules are actually
unmaintained in practice, so we should update the code to reflect the
practical reality so someone can consider picking them up.
2024-05-12 12:48:57 -07:00
Andreas Rammhold d157db3480
Merge pull request #307051 from hax404/modules/tayga/mappings
nixos/tayga: add mappings option
2024-05-12 21:16:26 +02:00
Martin Weinelt 6ce8bb794d
Merge pull request #311085 from mweinelt/knot-test-xfr
nixos/tests/knot: wait for successful zone transfers
2024-05-12 21:01:40 +02:00
Xyven1 201a5ff61f nixos/plex: add systemd hardening configuration 2024-05-12 14:22:04 -04:00
Marek Fajkus cf1e14e8a9
Merge pull request #310880 from presto8/warn-xss-lock
nixos/xss-lock: add warning for startx
2024-05-12 19:53:52 +02:00
Raito Bezarius b35ccb7fda nixos/tests/misc: call the tester test to be callTest-ed
Otherwise, this will destroy the release machinery to collect all the
systems.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-05-12 18:15:52 +02:00
K900 cd682e0a15
Merge pull request #311089 from RaitoBezarius/sowwy
nixos/release-`*`: fix `nixos.tests.misc` which was split into multiple tests
2024-05-12 18:29:54 +03:00
Florian Klink 0244a8d5d7 nixos/caddy: don't set ExecReload if enableReload is disabled
Otherwise, setting services.caddy.enableReload to false fails in a very bad fashion:

The reload command still gets executed, but fails:

```
Apr 26 21:23:01 n1-rk1 systemd[1]: Reloading Caddy...
Apr 26 21:23:01 n1-rk1 caddy[70793]: {"level":"info","ts":1714166581.733018,"msg":"using provided configuration","config_file":"/etc/caddy/caddy_config","config_adapter":"caddyfile"}
Apr 26 21:23:01 n1-rk1 caddy[70793]: {"level":"warn","ts":1714166581.7353032,"msg":"Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies","adapter":"caddyfile","file":"/etc/caddy/caddy_config","line":3}
Apr 26 21:23:01 n1-rk1 caddy[70793]: Error: sending configuration to instance: performing request: Post "http://localhost:2019/load": dial tcp [::1]:2019: connect: connection refused
Apr 26 21:23:01 n1-rk1 systemd[1]: caddy.service: Control process exited, code=exited, status=1/FAILURE
Apr 26 21:23:01 n1-rk1 systemd[1]: Reload failed for Caddy.
```

… and the server is not restarted either, as a ExecReload= command is
specified.

Fix this, by only setting ExecReload if the reload exists.

The first empty string is still necessary to reset the old option.
2024-05-12 18:27:02 +03:00
Raito Bezarius 64e51577b7 nixos/release-*: fix nixos.tests.misc which was split into multiple tests
Now, it's `nixos.tests.misc.default` and `nixos.tests.misc.lix` since
Lix introduction in #310194.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-05-12 17:22:51 +02:00
Vladimír Čunát 9447fd7bc8
Merge #309297: staging-next 2024-05-05 2024-05-12 17:09:49 +02:00
Martin Weinelt c1b293ca0c
nixos/tests/knot: wait for successful zone transfers
Depending on the startup order of the two machines it might take a few
moments to get both zones transfered, which can lead to SERVFAIL
responses on busy machines.
2024-05-12 16:40:23 +02:00
Bobby Rong e466c02ac3
Merge pull request #311074 from bobby285271/upd/mate-glib-networking
nixos/mate: enable services.gnome.glib-networking

cc #53700
2024-05-12 22:39:17 +08:00
Ryan Lahfa df0bced725
Merge pull request #310194 from RaitoBezarius/lix
lix: init at 2.90-beta.1
2024-05-12 16:28:36 +02:00
Bobby Rong 3de41ce7a8
nixos/mate: enable services.gnome.glib-networking
This is already done in the 5 other desktop environments I maintain, I decided that I don't mind adding another one.
2024-05-12 22:05:22 +08:00
github-actions[bot] 971c61f4d8
Merge master into staging-next 2024-05-12 12:01:24 +00:00
DavHau 0b6c484848 nixos/smokeping: use nginx instead of thttpd
Motivation:
fixes #265953

Changes:
- deprecate `services.smokeping.port` in favor of the niginx native option
- mention in release notes
2024-05-12 13:31:11 +02:00
Pol Dellaiera 8949291221
Merge pull request #305586 from drupol/private-gpt/init
private-gpt: init at 0.5.0
2024-05-12 12:53:53 +02:00
Acid Bong 49f6869f71
treewide: remove file-wide with lib; in nixos/modules/programs 2024-05-12 10:11:06 +03:00
github-actions[bot] ab6da4a615
Merge master into staging-next 2024-05-12 00:02:26 +00:00
Bjørn Forsman 7909e0f7d6 nixos/pixiecore: fix apiServer example
Add missing http:// scheme. Without it pixiecore logs this and never
contacts the API server:

  [DHCP] Couldn't get bootspec for [REDACTED_MAC_ADDR]: Get "localhost:8080/v1/boot/[REDACTED_MAC_ADDR]": unsupported protocol scheme "localhost"
2024-05-11 23:01:35 +02:00
Pol Dellaiera aff1950a3f
nixos/private-gpt: init 2024-05-11 22:42:04 +02:00
Gerg-L 6e22a417e6
nixos/xserver: remove duplicate display-manager.script declaration 2024-05-11 16:34:08 -04:00
Raito Bezarius 81854ca604 nixos/tests/misc: rework and take ownership
`nixosTests.misc` is an interesting smoketest as a last (cheap) line of
defense against Nix regressions.

We rework it to accept any arbitrary package manager for Lix.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-05-11 21:33:25 +02:00
Preston Hunt 7f0158313d nixos/xss-lock: add warning for startx 2024-05-11 08:47:11 -07:00
Ivan Kozik 0482e54050 nixos/radvd: add debugLevel option 2024-05-11 14:59:09 +00:00
WilliButz d8eb6d3b97
nixos/tests/systemd-initrd-modprobe: use loadable module
The kernel used on aarch64-linux is built with CONFIG_BLK_DEV_LOOP=y,
so the test previously did not work on aarch64-linux.

The module for Hybla congestion control is available as a loadable
module both on x86_64-linux and aarch64-linux.
2024-05-11 13:04:20 +02:00
Jan Tojnar 4be4408157 Merge branch 'master' into staging-next
; Conflicts:
;	maintainers/scripts/luarocks-packages.csv
;	pkgs/development/lua-modules/generated-packages.nix
2024-05-11 12:47:40 +02:00
Ilya Epifanov 2099ff760f thermald: fixed handling of an external config 2024-05-11 12:32:49 +02:00
K900 6dd3061cae nixos/greetd: add option to make greetd not stop Plymouth early 2024-05-11 11:52:45 +03:00
Jared Baur 32bf051ba4
nixos/switch-to-configuration: add new implementation
This adds an implementation of switch-to-configuration that allows for
closer interaction with the lifecycle of systemd units by using DBus
APIs directly instead of using systemctl. It is disabled by default, but
can be enabled by specifying `{ system.switch = { enable = false; enableNg = true; }; }`.
2024-05-10 16:33:06 -07:00
superherointj 602a9cec5b
Merge pull request #309904 from superherointj/k3s-format-rfc
k3s: enforce rfc 0166 format
2024-05-10 20:25:35 -03:00
Martin Weinelt e21dccc5a1
Merge pull request #310645 from gepbird/fix-firefox-test
nixosTests.firefox-{beta,devedition,esr,esr-115}: unbreak
2024-05-11 00:07:56 +02:00
superherointj 6cfcd3c754 k3s: format with nixfmt-rfc-style 2024-05-10 18:55:54 -03:00
Kyungrok Chung 81a58be20b nixos/tailscale: add extraSetFlags to configure daemon 2024-05-11 03:01:54 +09:00
Gutyina Gergő e1d179e36e
nixosTests.firefox-{beta,devedition,esr,esr-115}: unbreak 2024-05-10 19:28:41 +02:00
Emily 3a8dd0415a
Merge pull request #310209 from emilylange/chromium-disable-drm-auto-download
chromium: prevent automatic Widevine DRM download
2024-05-10 18:01:47 +02:00
emilylange e4f185cfaf
nixos/rl-2405: mention chromium DRM change 2024-05-10 17:33:17 +02:00
Adam C. Stephens 6878d98e5c
Merge pull request #310341 from adamcstephens/incus/6.1.0
incus: 6.0.0 -> 6.1.0, enable non-LTS testing
2024-05-10 10:17:20 -04:00
K900 4733c9feec nixos/tests: set non-conflicting priority for logrotate disabling
CC https://github.com/NixOS/nixpkgs/pull/267880
2024-05-10 16:25:51 +03:00
Martin Weinelt 7da17ece76
Merge pull request #310366 from mweinelt/pretix-pretalx-homemode
pretix, pretalx: fixes, hardening
2024-05-10 14:50:24 +02:00
Jacek Generowicz 6f048ef50b
doc/release-notes: another batch of release note edits (#310538)
* Another batch of release not edits

* Elide mention of dub lockfiles

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>

* Qualify qtmultimedia with qt6

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>

---------

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2024-05-10 14:29:04 +02:00
Franz Pletz fb382c2628
Merge pull request #310452 from fpletz/nginx-acme-servername
nixos/nginx: fix reference to acme cert hostname
2024-05-10 14:04:24 +02:00
nu-nu-ko 1c0d10e4f4
nixos/navidrome: add nu-nu-ko to maintainers 2024-05-10 21:16:30 +12:00
nu-nu-ko 7519d230b5
nixos/navidrome: ensure data & cache dirs exist with valid permissions 2024-05-10 21:16:30 +12:00
nu-nu-ko ffc0d8bf58
nixos/navidrome: remove apply from settings option 2024-05-10 21:16:30 +12:00
nu-nu-ko da8cdc2782
nixos/navidrome: use lib.getExe 2024-05-10 21:16:30 +12:00
nu-nu-ko 4987663e27
nixos/navidrome: add user/group options 2024-05-10 21:16:29 +12:00
nu-nu-ko bbba2bde44
nixos/navidrome: rfcfmt, rm mdDoc & with lib; 2024-05-10 21:16:29 +12:00
Franz Pletz 338a208e7d
Merge pull request #287505 from jpds/zfs-scrub-trim-randomizedDelaySec 2024-05-10 02:11:13 +02:00
Franz Pletz 7c520d4070
Merge pull request #287494 from jpds/zfs-autoscrub-monthly-default 2024-05-10 02:09:59 +02:00
Franz Pletz 04f0aed442
Merge pull request #267880 from Izorkin/update-nixos-tests-logrotate 2024-05-10 02:06:59 +02:00
Franz Pletz b7d060d10d
nixos/nginx: fix reference to acme cert hostname
The change introduced in #308303 refers to the virtualHosts attrset
key which can be any string. The servername is the actual primary
hostname used for the certificate.

This fixes use cases like:

    services.nginx.virualHosts.foobar.serverName = "my.fqdn.org";
2024-05-10 01:36:34 +02:00
Arthur Gautier 69c2090e98 amazon-image: allow pkgs overrides
By reimporting pkgs this drops overlays.

This reverts 0d3738cdcc
(`Fix the EC2 test`). Reasoning behind the reimport is blurry to me.
2024-05-09 09:48:07 -07:00
Martin Weinelt 622af635bb
pretalx: adopt and set up code ownership 2024-05-09 18:20:14 +02:00
Martin Weinelt 9afcf733f3
nixos/pretix: update hardening
- Transition from world-readable to group-readable UMask
- Remove world permissions from state directory
2024-05-09 18:20:14 +02:00
Martin Weinelt e2ccc754ac
nixos/tests/pretalx: test cli wrapper and print systemd unit security 2024-05-09 18:20:13 +02:00
Martin Weinelt 82f2cc7489
nixos/pretalx: set up hardening 2024-05-09 18:20:13 +02:00
Martin Weinelt b4b3165619
nixos/pretalx: fix state directory mode
The state directory contains static files that need to be accessible by
a webserver, but homeMode defaults to 0750 and switching the generation
will always force the homeMode, thereby breaking access to the assets.

Instead, fully rely on systemd to provide the StateDirectory with the
correct mode.
2024-05-09 18:20:13 +02:00
Martin Weinelt a4193dba8f
nixos/pretix: fix state directory mode
The state directory contains static files that need to be accessible by
a webserver, but homeMode defaults to 0750 and switching the generation
will always force the homeMode, thereby breaking access to the assets.

Instead, fully rely on systemd to provide the StateDirectory with the
correct mode.
2024-05-09 17:00:02 +02:00
oddlama 58286e510c
nixos/oauth2-proxy: fix invalid comparison between list and attrset 2024-05-09 16:58:33 +02:00
Emery Hemingway 60c75135f8 nixos/nginx: add validateConfigFile option
Add an option to disable configuration file processing and
validation.
2024-05-09 16:48:26 +02:00
Adam Stephens e58c57a868
nixos/tests/incus: enable testing both LTS and non-LTS 2024-05-09 10:03:07 -04:00
Adam C. Stephens 215dd64e07
Merge pull request #307039 from adamcstephens/nixos-unstable
nixos/incus: add support for soft daemon restarts
2024-05-09 09:59:37 -04:00
Nick Cao fe4d8b1b73
Merge pull request #310298 from rouven0/portunus-dex
nixos/portunus: fix dangling service files for dex
2024-05-09 09:50:54 -04:00
Adam Stephens 7d5b333dcd
nixos/incus: add support for soft daemon restart
This is a feature supported out of the box by upstream and allows the
incusd service to be restarted without impacting running
instances. While this does give up a bit of reproducibility, qemu and
lxc for example, there are clear benefits in allowing the host to
apply updates without impacting instances.

Modeled after the zabbly implementation: 2a67c3e260/systemd/incus-startup.service

This will now be the default.
2024-05-09 09:01:12 -04:00
github-actions[bot] f496548573
Merge master into staging-next 2024-05-09 12:01:21 +00:00
Guillaume Girol 00346bff2b nixos/borgbackup: add an option to ignore warnings
borgbackup exit code 1 means warning, not error. For example if a file
is modified during backup, borg create exits with code 1. It may be
desirable to count that as success.
2024-05-09 12:00:00 +00:00
Rouven Seifert 06667e028f
nixos/portunus: fix dangling service files for dex 2024-05-09 11:29:23 +02:00
Maximilian Bosch 4467d803aa
Merge pull request #310110 from lheckemann/linux-modules-xz
linux: always use xz for compressing modules
2024-05-09 07:10:16 +00:00
github-actions[bot] 3a16e8c6ba
Merge master into staging-next 2024-05-09 00:02:23 +00:00
Linus Heckemann 2f04c5f8a3 linux: always use xz for compressing modules
The change I merged too hastily in #302300 increases the size by
~30%. This could be improved upon, but in the meantime let's go back
to xz while keeping zstd-compressed firmware (only 4.4% larger) and
_support_ for zstd-compressed modules.
2024-05-09 00:16:52 +02:00
Guillaume Girol 2931e934d0
Merge pull request #277368 from niklaskorz/nixos-mautrix-signal
nixos/mautrix-signal: add module
2024-05-08 22:33:29 +02:00
github-actions[bot] 8d97a60dd1
Merge master into staging-next 2024-05-08 18:01:26 +00:00
Nanotwerp 9630d00c18 nixos/virt-manager: use dconf to autoconnect QEMU/KVM 2024-05-08 13:53:10 -04:00
Linus Heckemann a10842c7f0
Merge pull request #302300 from Ma27/kernel-zstd
linux kernel: prefer zstd where possible
2024-05-08 15:17:45 +02:00
github-actions[bot] 05abe113a9
Merge master into staging-next 2024-05-08 12:01:20 +00:00
Florian Klink ddf728e50b
Merge pull request #306926 from tie/networkd-global-ipv6-privacy-extensions
nixos/networkd: allow IPv6PrivacyExtensions in networkd.conf
2024-05-08 14:41:08 +03:00
Peder Bergebakken Sundt 9873938432
Merge pull request #302814 from paumr/auto-update/archi
archi: 5.2.0 -> 5.3.0
2024-05-08 13:07:09 +02:00
7c6f434c 55e9b296c1
Merge pull request #309696 from Uthar/lisp-removal-of-previous-variants
Lisp modules - removal of previous variants
2024-05-08 10:04:39 +00:00
Jonas Heinrich 4a451cb3ce
Merge pull request #308291 from Ma27/nc-update-db
nixos/nextcloud: add nextcloud-update-db.service, nextcloud-cron isn't oneshot
2024-05-08 11:29:45 +02:00
Pascal Wittmann a751e2faa2
Merge pull request #302908 from kai-tub/nixos/restic/fix-checkCmd
nixos/restic: fix skipping of check command
2024-05-08 10:29:31 +02:00
Florian Klink 20f90ebed6
Merge pull request #309608 from jmbaur/systemd-lib-range-or-one-of
nixos/systemd-lib: fix assertRangeOrOneOf when value is not comparable
2024-05-08 10:15:11 +03:00
github-actions[bot] 798dfbbedb
Merge master into staging-next 2024-05-08 00:02:03 +00:00
Oliver Schmidt 52506a2744 percona: adapt upstream release model
In accordance to the upstream release cycle, we now provide 2 flavours
of the percona mysql ecosystem. The default is the LTS variant,
additionally there is now the floating `percona-server_innovation`
always pointing to the most recent regular release.

- mentioned in release notes
- adapted all depending tests and tools (xtrabackup)
2024-05-08 00:40:06 +02:00
Pascal Wittmann b641bba3d7
Merge pull request #309052 from kira-bruneau/intel-gpu-tools
nixos/intel-gpu-tools: init basic security wrapper
2024-05-07 23:28:45 +02:00
Sandro dc79d5b1b3
Merge pull request #308904 from SuperSandro2000/273761-follow-up
nixos/openrazer: properly rename mouseBatteryNotifier option
2024-05-07 22:18:31 +02:00
github-actions[bot] 9b1eee6539
Merge master into staging-next 2024-05-07 18:01:11 +00:00
Oliver Schmidt 0999991e93 percona-server_8_3: init at 8.3.0-1
This release belongs to the "innovation" release track of Percona,
making it likely to diverge over time from the LTS release. Hence I just
created a separate packaging expression for this.
2024-05-07 19:56:32 +02:00
nikstur 951e023010
Merge pull request #309838 from cyberus-technology/take-plausible-maintainership
plausible: take take-plausible-maintainership
2024-05-07 18:34:24 +02:00
superherointj dd7c32ab3e
Merge pull request #309099 from rorosen/package-k3s-kilall
k3s: package k3s-killall script
2024-05-07 11:02:03 -03:00
Leona Maroni 31be9134a2
Merge pull request #309836 from cyberus-technology/fix-nixos-plausible-unit
nixos/plausible: fix unit start script
2024-05-07 15:46:50 +02:00
Alexander Sieg 8edee82bc2
plausible: take take-plausible-maintainership 2024-05-07 15:35:22 +02:00
Alexander Sieg 3be1b16698
nixos/plausible: fix unit start script
In 8bb777ee37 a condition was added to
only execute the createdb.sh script if database setup was configurated.
However a superfluace " was added at the end of the line which cased an
escaping error the resulted in #309520.

Fixes #309520
2024-05-07 15:27:08 +02:00
Stefan Hertrampf d07866cddc nixos/test-driver: rm global logger
We remove the global rootlog in favor of instantiating the logger as
required in the __init__.py and pass it down as a parameter (of our
AbstractLogger type).
2024-05-07 15:17:17 +02:00
Stefan Hertrampf 303618c7e1 nixos/test-driver: enable XML log selectively
Previously, the XML logging was always present and only created an
output file if a special environment variable was present. We now only
create the XML logger if the environment variable is present, saving us
from logging to XML internally if it is not required.
2024-05-07 15:17:17 +02:00
Stefan Hertrampf 9e8d6bbe24 nixos/test-driver: add junit-xml logger
We add a new logger that allows generating a junit-xml compatible report
listing the subtests used in the nixos integration test. Junit-xml is a
widely used standard for test reports. The report can be used for quick
evaluation of which subtest failed.
2024-05-07 15:17:16 +02:00
Stefan Hertrampf 9d90df51a9 nixos/test-driver: Separate XML and Terminal log
We use the newly AbstractLogger class and separate the XML and Terminal
logging that is currently mixed into one class. We restore the old
behavior by introducing a CompositeLogger that takes care of logging
both to terminal and XML.
2024-05-07 15:17:16 +02:00
Stefan Hertrampf b505db6f6d nixos/test-driver: add AbstractLogger interface 2024-05-07 15:17:15 +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
github-actions[bot] 30144b9efd
Merge master into staging-next 2024-05-07 12:01:16 +00:00
Basti 5132ef795e
Merge pull request #309572 from SuperSandro2000/307498-followup
nixos/containers: set storage.settings via mkDefault
2024-05-07 09:59:38 +00:00
Robert Rose 2b0b15ec94 k3s: package k3s-killall script
Provide the k3s-killall.sh script for orderly shutdown of k3s.
2024-05-07 11:53:15 +02:00
Pol Dellaiera 9f3f549360
Merge pull request #309550 from linj-fork/pr/kanata-check-config-at-build-time
nixos/kanata: check the config file at build time
2024-05-07 09:59:18 +02:00
Pol Dellaiera 52b35c5833
Merge pull request #309534 from getchoo/nixos/fish/package-option
nixos/fish: add `package` option
2024-05-07 08:56:13 +02:00
github-actions[bot] 58ecfa2997
Merge master into staging-next 2024-05-07 06:01:04 +00:00
seth f959fd3fff
nixos/fish: disable logrotate service in module test
headstart on https://github.com/NixOS/nixpkgs/pull/267880
2024-05-07 00:37:47 -04:00
seth 3056f09554
nixos/fish: add package option 2024-05-07 00:34:38 -04:00
Lin Jian 50f535b067
Merge pull request #309609 from linj-fork/pr/kanata-module-doc
nixos/kanata: improve doc
2024-05-07 11:05:26 +08:00
Kasper Gałkowski fc5b715e1a nixos/clfswm: use sbclPackages - lispPackages was removed 2024-05-07 03:35:07 +02:00
Kasper Gałkowski 945dbca107 lisp-modules: mention common-lisp.sh API removal in release notes 2024-05-07 02:55:36 +02:00
github-actions[bot] 9b53839f00
Merge master into staging-next 2024-05-07 00:02:04 +00:00
paumr 8027f83d32 archi: removed OCR welcome check 2024-05-07 01:56:25 +02:00
Niklas Hambüchen 8907c1017d
Merge pull request #309424 from NixOS/ReadWriteDirectories-ReadWritePaths
nixos/{zoneminder,caddy,traefik}: ReadWriteDirectories -> ReadWritePaths
2024-05-07 01:13:06 +02:00
Niklas Hambüchen 9d7a729277 treewide: ReadWriteDirectories -> ReadWritePaths.
These were renamed in systemd v231:
2a624c36e6
2024-05-07 01:06:02 +02:00
Maximilian Kienitz aa93972d0b nixos/vsftpd: fix invalid implication in assertions 2024-05-06 23:26:09 +02:00
Florian Klink 8950e22d8c nixos/garage: drop replication_mode setting
This got broken up into separate `replication_factor` and
`consistency_mode` settings with Garage 1.x, and due to the the "none"
default kicking in, Garage fails to startup with

> : Error: Either the legacy replication_mode or replication_level and consistency_mode can be set, not both.

if we actually make the migratiom as documented in the migration guide.

Drop this explicit setting, so users can set replication_mode or
replication_factor/consistency_mode, depending on the version they're
using.
2024-05-06 23:15:10 +03:00
Bernardo Meurer 40da51f2f0
Merge pull request #309611 from lovesegfault/fix-oauth2-proxy
nixos/oauth2-proxy: fix missing `lib.`
2024-05-06 15:15:45 -04:00
Artturin 5ce6ea92e3
Merge pull request #301827 from kampka/forbiddenDependenciesRegex
nixos/top-level: Turn `system.forbiddenDependenciesRegex` into a list
2024-05-06 21:07:03 +03:00
Bernardo Meurer 7c87bee77b
nixos/oauth2-proxy: fix missing lib. 2024-05-06 14:05:17 -04:00
github-actions[bot] 4781c03d7f
Merge master into staging-next 2024-05-06 18:01:20 +00:00
Lin Jian 75a864edf1
nixos/kanata: replace deflayer with deflayermap in config example
IMHO, this style is more intuitive.
2024-05-07 01:52:08 +08:00
Lin Jian 4eafe1458d
nixos/kanata: improve links to the upstream documentation 2024-05-07 01:51:57 +08:00
Lin Jian f7b50c3977
nixos/kanata: improve example of the package option
Before this patch, it is rendered as "Example: kanata-with-cmd".
With this patch applied, it is "Example: pkgs.kanata-with-cmd".
2024-05-07 01:51:51 +08:00