Commit Graph

37523 Commits

Author SHA1 Message Date
Ryan Lahfa
b69fbe2670
Merge pull request #272996 from RaitoBezarius/netdata-improvements 2023-12-09 14:00:48 +01:00
Maximilian Bosch
06216a9168
Merge pull request #272564 from SuperSandro2000/grafana
nixos/grafana: create plugins directory in provisioning, fix deprecation warning
2023-12-09 13:51:55 +01:00
Jonas Heinrich
1440b865c0 nixos/btrbk: Add required stream_compress packages 2023-12-09 13:03:46 +01:00
Rodney Lorrimar
32ee8b4c77
nixos/tests/mysql-backup: Remove self from maintainers 2023-12-09 17:46:09 +08:00
Rodney Lorrimar
c5710ce274
nixos/tests/mongodb: Remove self from maintainers 2023-12-09 17:45:33 +08:00
github-actions[bot]
050990f547
Merge master into staging-next 2023-12-09 06:00:55 +00:00
Peder Bergebakken Sundt
e43bbcfaec
Merge pull request #272557 from ambroisie/update-tandoor-recipes
tandoor-recipes: 1.5.6 -> 1.5.10
2023-12-09 03:12:36 +01:00
Lassulus
b8ca5f4f46
Merge pull request #137003 from yayayayaka/add-pkg-jigasi
jigasi: init at 1.1-311-g3de47d0 + module
2023-12-09 02:28:50 +01:00
Raito Bezarius
db1e415c07 nixos/netdata: ensure analytics reporting is truly opted-out
Fixes 260035.
2023-12-09 00:47:56 +01:00
Martin Weinelt
3590a44b06
Merge remote-tracking branch 'origin/master' into staging-next 2023-12-09 00:34:42 +01:00
Silvan Mosberger
bf67c02b1b
Merge pull request #272744 from hercules-ci/lib-lists-sortOn
`lib.lists.sortOn`: init
2023-12-08 23:11:05 +01:00
Robert Hensing
7438f4e0de nixos/btrbk: Optimize sort
This avoids computing the prio more than necessary.
The test evaluates to the same derivation hash.
2023-12-08 22:15:30 +01:00
Weijia Wang
ad7edda3e2 Merge branch 'master' into staging-next 2023-12-08 22:09:49 +01:00
Robert Hensing
47aff944e4
Merge pull request #257503 from SuperSandro2000/postgres-extraPlugins
nixos/postgresql: take extraPlugins packageset from package option
2023-12-08 21:51:05 +01:00
Robert Hensing
5322e1313e
Update nixos/doc/manual/release-notes/rl-2405.section.md 2023-12-08 21:50:57 +01:00
Silvan Mosberger
8d3978c149 lib.types.boolByOr: init
This type is necessary to have correct merging behavior for
`allowUnfreePredicate` and `allowInsecurePredicate`

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2023-12-08 21:50:29 +01:00
github-actions[bot]
5f3708016c
Merge master into staging-next 2023-12-08 18:00:53 +00:00
Maciej Krüger
7a7925e722
Merge pull request #270034 from ckiee/transmission-watchdir-typo 2023-12-08 18:23:00 +01:00
Maciej Krüger
a2595d975f
Merge pull request #272508 from jacobgreenleaf/jg-teamspeak3-protos 2023-12-08 18:17:37 +01:00
Nick Cao
d79786694d
Merge pull request #270355 from sinanmohd/iwd-resolvconf
nixos/iwd: fix broken dhcp dns configuration
2023-12-08 10:58:25 -05:00
Weijia Wang
6f6d03b284
Merge pull request #272875 from chayleaf/maubot
nixos/maubot: fix eval with default config
2023-12-08 16:23:20 +01:00
Sandro Jäckel
78541e68eb
nixos/nginx: allow return to be an int 2023-12-08 15:04:27 +01:00
Sandro Jäckel
eaa581b5c3
nixos/nextcloud: allow phpOptions to contain ints 2023-12-08 15:03:09 +01:00
Sandro Jäckel
824e3c17a6
nixos/doc: add changelog entry for postgres extraPlugins type change 2023-12-08 14:58:19 +01:00
Sandro Jäckel
3bb72ed9fd
treewide: fix services.postgresql.extraPlugins usage 2023-12-08 14:58:18 +01:00
Sandro Jäckel
4fe5824fc7
nixos/postgresql: take extraPlugins packageset from package option
This allows to reuse the extraPlugins option in other context's for
example an upgrade script.
2023-12-08 14:58:18 +01:00
sinanmohd
d173469d3b nixos/iwd: fix broken dhcp dns configuration 2023-12-08 18:00:29 +05:30
chayleaf
57e3ca7057
nixos/maubot: fix eval with default config 2023-12-08 17:35:11 +07:00
Gabriel Arazas
85fcb9b4ef
nixos/guix: fix user activation script 2023-12-08 17:56:54 +08:00
github-actions[bot]
728281e1ea
Merge master into staging-next 2023-12-08 00:02:27 +00:00
Martin Weinelt
7b8be9c335 nixos/wyoming/{faster-whisper,piper}: hook up enable option 2023-12-07 22:27:15 +01:00
Bruno BELANYI
d23f965f8b nixos/tandoor-recipes: fix deprecated config key
See the 1.5.10 release notes [1].

[1]: https://github.com/TandoorRecipes/recipes/releases/tag/1.5.10
2023-12-07 19:12:15 +00:00
github-actions[bot]
40f2209184
Merge master into staging-next 2023-12-07 18:00:57 +00:00
Weijia Wang
9f1f87b612
Revert "wordpress: fixed installing of languages" 2023-12-07 18:27:40 +01:00
Yaya
767e3dab38 nixos/jitsi-meet: Integrate jigasi
This commit introduces the possibility to optionally enable the Jitsi
Gateway to SIP (jigasi) module. SIP credentials can be defined in
`services.jigasi.environmentFile`.
2023-12-07 13:36:53 +00:00
Yaya
c84f3a33b4 nixos/jigasi: init 2023-12-07 13:36:53 +00:00
github-actions[bot]
860e5725bd
Merge master into staging-next 2023-12-07 12:01:24 +00:00
Kim Lindberger
9ec830423e
Merge pull request #267906 from talyz/keycloak-hostname-url
nixos/keycloak: Allow setting `hostname-url`
2023-12-07 12:07:49 +01:00
Peder Bergebakken Sundt
b8c62ab390
Merge pull request #271289 from Luflosi/teeworlds-module-reduce-closure
nixos/teeworlds: reduce closure size
2023-12-07 10:19:11 +01:00
Peder Bergebakken Sundt
7a8ee53fdb
Merge pull request #269908 from pbsds/fix-ejabberd-1700922829
nixos/ejabberd: ensure erlang cookie is made
2023-12-07 10:18:37 +01:00
Peder Bergebakken Sundt
5be3695680
Merge pull request #268497 from katexochen/greetd/tuigreet-dir
greetd: create cache dir for tuigreet
2023-12-07 10:04:09 +01:00
Florian Klink
4db2e0cc80
Merge pull request #272542 from Sohalt/caddy-config-file
nixos/caddy: use caddyfile adapter by default with explicit configFile
2023-12-07 09:07:35 +02:00
github-actions[bot]
32d842483f
Merge master into staging-next 2023-12-07 06:01:00 +00:00
Peder Bergebakken Sundt
d41449afb3
Merge pull request #256737 from illustris/spark
spark: init 3.5.0, 3.4.0->3.4.2, 3.3.2->3.3.3
2023-12-07 04:24:16 +01:00
github-actions[bot]
fd7a8aedb0
Merge master into staging-next 2023-12-07 00:02:20 +00:00
zowoq
18460b4820 nixos/buildbot: only run nixosTest on x86_64-linux
Test has been broken for a while on aarch64-linux.
2023-12-06 23:45:45 +01:00
Sandro Jäckel
8c972ce2c0
nixos/grafana: fix deprecation warning by using grafana server instead of grafana-server
Deprecation warning: The standalone 'grafana-server' program is deprecated and will be removed in the future. Please update all uses of 'grafana-server' to 'grafana server'
2023-12-06 23:40:30 +01:00
Sandro Jäckel
cff247a127
nixos/grafana: create plugins directory in provisioning
The error message was:
msg="Failed to read plugin provisioning files from directory" path=/nix/store/gs2cy8n6ndsa1f7msf7ndl8f85xl1pzg-grafana-provisioning/plugins
 error="open /nix/store/gs2cy8n6ndsa1f7msf7ndl8f85xl1pzg-grafana-provisioning/plugins: no such file or directory"
2023-12-06 23:40:29 +01:00
h7x4
5ec449a6be nixos/borgbackup: add listOf str types to extraArgs 2023-12-06 23:12:21 +01:00
sohalt
3c6b3d71fa nixos/caddy: Use caddyfile adapter by default when explicitly specifying configFile 2023-12-06 21:57:21 +01:00
phaer
c40f706dc4 nixos/nginx/tailscale-auth: init module 2023-12-06 20:57:38 +01:00
Vincent Haupert
44522d8478 nixos/vector: align service restart policy with upstream
Restart vector 5 times within 10s on exit. The upstream systemd unit
uses the same values.
2023-12-06 19:15:11 +00:00
Adam C. Stephens
b1f7f1ce6d
Merge pull request #271689 from adamcstephens/lxc/team
treewide: init lxc team and take ownership of components
2023-12-06 13:55:45 -05:00
Atemu
f39eb36250 nixos/snapraid: remove from top-level
I don't use this tool but saw it in the top level and that's not where it should
live.

This could arguably also be seen as a RAID; it's a bit of an in-between.
2023-12-06 19:02:38 +01:00
Jacob Greenleaf
ed67e22139 nixos/teamspeak3: SSH and HTTP ip+port options
ServerQuery actually listens on three separate addresses each
corresponding to its own protocol (raw/telnet, ssh, and http). By only
setting `query_addr` we only update what IP we listen on for the raw
protocol, not ssh and http protocols which end up listening on the
default wildcard address.

This change simply makes it so that setting `queryIP` sets the IP for
all three protocols by setting each corresponding option (`query_ip`,
`query_ssh_ip` and `query_http_ip`).
2023-12-06 08:31:38 -08:00
github-actions[bot]
f48be2ac66
Merge master into staging-next 2023-12-06 12:01:16 +00:00
Jörg Thalheim
224537581a nixos/harmonia: test if extra-allowed-users works 2023-12-06 12:56:35 +01:00
Jörg Thalheim
bd88398369 nixos/harmonia: allocate user
DynamicUser seem to broken in combination with the nix-daemon.
2023-12-06 12:56:35 +01:00
github-actions[bot]
035a649a67
Merge master into staging-next 2023-12-06 06:01:30 +00:00
Martin Weinelt
d809a6f9c3
nixos/home-automation: fix lovelace card entrypoint
Only append the .js extension to the card pname, not to the specified
entrypoint.
2023-12-06 04:35:35 +01:00
Martin Weinelt
17c08296e3
Merge pull request #269940 from mweinelt/home-assistant-errata
Home Assistant Custom Component Errata
2023-12-06 04:11:36 +01:00
Martin Weinelt
b908dc8654
Merge pull request #271785 from SuperSandro2000/hass-custom-lovelace
nixos/home-assistant: fix custom lovelace module loading
2023-12-06 04:10:34 +01:00
Martin Weinelt
01616e5331
buildHomeAssistantComponent: migrate from pname to owner/domain
Also make the attribute name to match the domain name.

This is more in line with the home-assistant custom component ecosystem
and allows additional validation between the derivation and the manifest.

Also, at a later time, this will enable us to check for domain conflicts
at eval time.
2023-12-06 03:55:33 +01:00
github-actions[bot]
2622221e95
Merge master into staging-next 2023-12-06 00:02:22 +00:00
maxine
ad7955279d
Merge pull request #270011 from christoph-heiss/networkd-fix-wgpeer-doc
nixos/networkd: fix manpage for `WireGuardPeer` config
2023-12-06 00:33:05 +01:00
happysalada
21d23dddd8 nixos/windmill: init module 2023-12-05 22:54:18 +00:00
happysalada
93c790aef3 nixos/clamav: add scanner service 2023-12-05 22:53:35 +00:00
happysalada
6b014e92de nixos/clamav: fix /run/clamav being removed 2023-12-05 22:53:35 +00:00
maxine
f73dbfa5f8
Merge pull request #213006 from Majiir/nut
nixos/ups: add options for essential config files
2023-12-05 23:14:37 +01:00
Sandro Jäckel
bba808dbfa
nixos/avahi-daemon: resolve mdns only over enabled protocols, disable ipv6 by default
see https://github.com/lathiat/nss-mdns#:~:text=in%20such%20a%20situation%20causes%20long%20timeouts%20when%20resolving%20hosts
especially:
> libnss_mdns.so.2 resolves both IPv6 and IPv4 addresses, libnss_mdns4.so.2 only IPv4 addresses and
> libnss_mdns6.so.2 only IPv6 addresses. Due to the fact that most mDNS responders only register local IPv4
> addresses via mDNS, most people will want to use libnss_mdns4.so.2 exclusively. Using libnss_mdns.so.2
> or libnss_mdns6.so.2 in such a situation causes long timeouts when resolving hosts since most modern
> Unix/Linux applications check for IPv6 addresses first, followed by a lookup for IPv4.
2023-12-05 21:51:12 +01:00
Nick Cao
e9f0a62ef5
nixos/power-profiles-daemon: add package option 2023-12-05 13:21:32 -05:00
Nick Cao
0588b4bda0
nixos/power-profiles-daemon: drop with lib 2023-12-05 13:21:30 -05:00
github-actions[bot]
9497a77fed
Merge master into staging-next 2023-12-05 18:00:57 +00:00
Robert Hensing
4d1f62836e scripts/create-amis.sh: Update region list 2023-12-05 18:30:52 +01:00
Thiago Kenji Okada
bed09b735f
Merge pull request #226923 from Drakonis/prometheus/agent-mode
nixos/prometheus: add `enableAgentMode` option
2023-12-05 17:17:37 +00:00
Alejandro Sánchez Medina
f10cab3241
Merge pull request #271343 from tweag/release-notes-stable
Use stable Nixpkgs URLs in release notes
2023-12-05 10:28:53 -05:00
Sandro
d011c93f7d
nixos/hound: adopt, rework, cleanup (#268983)
- add me as maintainer
- remove hardcoded user id
- validate syntax of config file
- remove superfluous option extraGroups
- use mkPackageOptionMD
2023-12-05 15:59:26 +01:00
Victor Hugo Aguiar Pacce
5c6c35d0f8 nixos/prometheus: add enableAgentMode option
Required for running a prometheus service under agent mode

Signed-off-by: Victor Hugo Aguiar Pacce <victorhugoaguiarpacce@gmail.com>
2023-12-05 11:24:04 -03:00
Robert Hensing
708e7ccb37
Merge pull request #271423 from hercules-ci/nixos-nix.nix-nix-config-show
nixos/nix.nix: Support new Nix 2.20 command syntax
2023-12-05 14:47:20 +01:00
github-actions[bot]
4d8ab2a703
Merge master into staging-next 2023-12-05 12:01:22 +00:00
Pol Dellaiera
d79be73295
Merge pull request #271628 from scvalex/kubernetes-flannel-dont-open-ports
kubernetes: don't always open flannel fw ports
2023-12-05 12:29:21 +01:00
Janik
7703f36fd1
Merge pull request #269469 from NetaliDev/zammad-update 2023-12-05 09:29:51 +01:00
Fabián Heredia Montiel
5b8deaceca Merge remote-tracking branch 'origin/master' into staging-next
Fixed conflict in pkgs/applications/graphics/krita/

krita: 5.1.5 -> 5.2.0
7a40fdc288
, and
treewide: use kde mirror everywhere, don't use pname in download urls
aa15f5066d
2023-12-04 17:44:17 -06:00
h7x4
e6a98c8254
nixos/mattermost: fix mkPackageOption default name 2023-12-04 23:12:25 +01:00
netali
531fa59187
nixos/tests/zammad: fix test 2023-12-04 23:10:08 +01:00
netali
a1f6e1d6f1
nixos/zammad: update for zammad 6.1 2023-12-04 23:10:07 +01:00
K900
3c1ad28f89
Merge pull request #266234 from SuperSamus/plasma-dconf-glib
nixos/plasma5: enable dconf by default
2023-12-05 00:23:29 +03:00
Ryan Lahfa
0275f6fc9e
Merge pull request #272061 from JulienMalka/clevis-fix-zfs-evaluation 2023-12-04 19:36:39 +01:00
Julien Malka
28608b0448 nixos/clevis: skip filesystem with null devices 2023-12-04 15:21:16 +00:00
Julien Malka
9b6b934949 nixos/clevis: guard zfs code behind config.clevis.boot.initrd.enable 2023-12-04 15:09:49 +00:00
Adam Stephens
27064dd722
nixos/lxc: remove with lib 2023-12-04 10:06:54 -05:00
Adam Stephens
ccb7b8e309
nixos/lxcfs: remove with lib 2023-12-04 10:06:52 -05:00
Adam Stephens
6765aac154
treewide/lxc: set lxc team as maintainer 2023-12-04 10:06:50 -05:00
Kerstin
ba513b2979
Merge pull request #270522 from schmittlauch/mastodon-streaming-processes-number-docs
Proposal: nixos/mastodon; Releasenotes and (possibly) better error messages for `streamingProcesses`
2023-12-04 16:04:27 +01:00
Nick Cao
c0443ea94c
Merge pull request #271869 from wentasah/redmine-assertions
nixos/redmine: Fix database assertions
2023-12-04 08:56:45 -05:00
John Garcia
f509382c11 node-red_service: correct package to nodePackages.node-red 2023-12-04 11:53:23 +00:00
K900
f0b6f1fb27
Merge pull request #271922 from puetzk/qt6-qtmultimedia-ffmpeg
qt6.qtmultimedia: Enable ffmpeg/VAAPI backend
2023-12-04 10:07:02 +03:00
zowoq
34deb05e55 nixos/buildbot: fix worker package 2023-12-04 13:55:09 +10:00
Trolli Schmittlauch
cbf69c83d3 nixos/mastodon: clarify the need to set streamingProcesses
Explicitly declaring that option is now necessary, but wasn't in the module shipped with 23.05.
2023-12-04 02:18:39 +01:00
Peder Bergebakken Sundt
58ffd55cde
Merge pull request #249777 from LunNova/lunnova/input-remapper-2.x
input-remapper: 1.5.0 -> 2.0.1
2023-12-04 01:23:30 +01:00
Peder Bergebakken Sundt
d2852f5af0
Merge pull request #238711 from moni-dz/contour
contour: 0.3.1.200 -> 0.3.12.262
2023-12-04 00:10:19 +01:00
Kevin Puetz
91b8e472a5 qt6.qtmultimedia: Compile ffmpeg multimedia plugin
This is now the default recommendation upstream for linux platforms

> https://doc.qt.io/qt-6.6/qtmultimedia-index.html#ffmpeg-as-the-default-backend
> In this release the FFmpeg framework is set as the default backend on
> Windows, macOS, Android, and Linux except Yocto distribution.

> The version shipped with Qt binary packages is FFmpeg 6.0
> and is tested by the maintainers.

libXrandr is required to compile support QT_WINDOW_CAPTURE_BACKEND=x11
2023-12-03 16:58:28 -06:00
Atemu
fd7f5fd9a2
Merge pull request #269475 from jonringer/addhardwarerunpath-mini
addDriverRunpath: init
2023-12-03 22:27:36 +01:00
Jeff Huffman
bf6f0d3cf4
nixos/ldso: init module 2023-12-03 16:23:44 -05:00
Emily
a0ba4615da
Merge pull request #270467 from nalves599/269944-keepalived-firewall
nixos/keepalived: add openFirewall option
2023-12-03 20:37:09 +01:00
fortuneteller2k
1769cf416e contour: 0.3.1.200 -> 0.3.12.262
- use qt6 by default
  - codesign macOS bundle executable
  - install terminfo for Darwin
  - install shell completions for zsh and fish
2023-12-04 02:39:26 +08:00
Jonathan Ringer
05f1bc9654
nixos/manual: add entry for addDriverRunpath 2023-12-03 07:23:45 -08:00
Nick Cao
fba68401fb
Merge pull request #271835 from undefined-moe/patch-2
prometheus-mongodb-exporter: fix service ExecStart
2023-12-03 09:35:28 -05:00
Weijia Wang
d1fc3a5f9f
Merge pull request #253428 from Yarny0/tsm-freeform
nixos/tsm-client: migrate to freeform settings (RFC42)
2023-12-03 14:50:12 +01:00
Michal Sojka
8667baf161 nixos/redmine: Fix database assertions
Recent PR 266270[1] modified an assertion related to database settings
of the redmine service. There are two problems with that change:

1. Assert message was not updated to reflect the change in the assert
   condition.

2. The new condition applies only to postgresql, not the default
   mysql. Therefore, the assertion breaks existing mysql-based
   installations without any reason.

This commit fixes these by 1) reverting the modified assertion to the
previous value, making the message match the condition and 2) adding a
new assertion that applies only to postgresql.

[1]: https://github.com/NixOS/nixpkgs/pull/266270
2023-12-03 14:41:42 +01:00
Weijia Wang
f5f2b471f3
Merge pull request #271437 from martinetd/ankisyncd-deprecation
ankisyncd: mark module as deprecated
2023-12-03 14:35:57 +01:00
Weijia Wang
4e81387d5b
Merge pull request #264331 from foo-dogsquared/add-nixos-guix-module
nixos/guix: init
2023-12-03 13:03:43 +01:00
Pol Dellaiera
9284581a09
Merge pull request #271376 from kallistoteles/thinkfan-service-restart
nixos/thinkfan: restart on failure
2023-12-03 12:47:01 +01:00
undefined
3c4370ca2f
prometheus-mongodb-exporter: fix service ExecStart 2023-12-03 17:54:21 +08:00
kalle
f1e6c6641e nixos/thinkfan: add setting
the thinkfan service failed from time to time on my t440s, so I added
restart on fail to the systemd service.
2023-12-03 08:45:03 +01:00
Janik
5380b3c73a
Merge pull request #259773 from dadada/dadada/luks-fido2-systemd 2023-12-03 07:19:00 +01:00
github-actions[bot]
e1f166b89a
Merge master into staging-next 2023-12-03 06:01:01 +00:00
Bobby Rong
43744f5bc4
Merge pull request #268515 from NixOS/cinnamon
Cinnamon 6.0
2023-12-03 12:20:39 +08:00
Majiir Paktu
c1793ff623 nixos/ups: add {users,upsmon,upsd} config options 2023-12-02 22:44:07 -05:00
Majiir Paktu
09002e9d23 nixos/ups: various fixes & clean up
- Ensure NUT_STATEPATH exists (fixes service startup)
- Use mode option to enable services (fixes #113735)
- Remove extraneous slash in paths (fixes confusing logs)
- Support reload for upsmon and upsd
- Remove ExecStart wrapper scripts
2023-12-02 22:42:14 -05:00
github-actions[bot]
d865fa4303
Merge master into staging-next 2023-12-03 00:02:21 +00:00
Sandro Jäckel
663dbfb82d
nixos/home-assistant: fix custom lovelace module loading
based on https://community.home-assistant.io/t/ui-lovelace-yaml-and-custom-resources/240178/4

Tested on a home-assistant server and before the card was not loaded at all.
After this it threw an error that my config is wrong.
2023-12-03 00:53:59 +01:00
Lin Jian
094017d16d
Merge pull request #271723 from LDprg/master
nixos/preload: fix log permission
2023-12-02 16:58:19 -06:00
Nuno Alves
24d9151d15
nixos/keepalived: add openFirewall option
Allow VRRP and AH (authentication packets) through the firewall
automatically if the option is set.
2023-12-02 22:42:12 +00:00
Janik
c3ac6b916c
Merge pull request #271441 from NetaliDev/mysql-auth-fix 2023-12-02 23:34:51 +01:00
Martin Weinelt
2a57f9aeba
Merge pull request #271760 from SuperSandro2000/hass-switching-lovelace-writtable
nixos/home-assistant: fix error when switching between writable and none writable lovelace config
2023-12-02 23:09:25 +01:00
Sandro Jäckel
57bfbc781c
nixos/home-assistant: fix error when switching between writable and none writable lovelace config
error message before was:
cp: not writing through dangling symlink '/var/lib/hass/ui-lovelace.yaml'
2023-12-02 23:04:48 +01:00
github-actions[bot]
44c7b403da
Merge master into staging-next 2023-12-02 20:54:04 +00:00
Benjamin Saunders
dffba14043 nixos/matrix-appservice-irc: fix syscall filter
The pre-start script requires @chown; the service fails without it.
2023-12-02 12:03:58 -08:00
netali
22b5fecd98
nixos/tests/auth-mysql: fix test 2023-12-02 20:18:30 +01:00
LDprg
6f33e6e4ab nixos/preload: fix log permission 2023-12-02 19:19:33 +01:00
github-actions[bot]
5f8f8a1514
Merge master into staging-next 2023-12-02 18:00:52 +00:00
Peder Bergebakken Sundt
1079eccc63
Merge pull request #262133 from h7x4/cleanup-screen-module
nixos/screen: clean up module
2023-12-02 15:56:45 +01:00
github-actions[bot]
df742c9c0e
Merge master into staging-next 2023-12-02 12:01:25 +00:00
Ryan Lahfa
8626b5c06d
Merge pull request #257525 from SaumonNet/clevis 2023-12-02 12:58:01 +01:00
Peder Bergebakken Sundt
598129ea00
Merge pull request #243476 from OPNA2608/init/lomiri/ayatana-messages
ayatana-indicators: init messaging indicator, module, test
2023-12-02 12:56:21 +01:00
Julien Malka
3aa4ed0985 nixos/tests/installer: init clevis tests
Co-Authored-By: Camille Mondon <camillemondon@free.fr>
2023-12-02 11:55:52 +00:00
Camille Mondon
27493b4d49 nixos/clevis: init
Co-Authored-By: Julien Malka <julien@malka.sh>
2023-12-02 11:55:47 +00:00
Thomas Gerbet
70d27ac5a8
Merge pull request #267531 from techknowlogick/gitea-1210
gitea: 1.20.5 -> 1.21.1
2023-12-02 12:14:45 +01:00
Alexandru Scvortov
f9123510db kubernetes: don't always open flannel fw ports 2023-12-02 10:50:56 +00:00
Yarny0
20a9a21b24 nixos/tsm-client: add migration code for freeform settings
To help users migrate from the previous
settings to new freeform settings type,
the commit at hand adds some
`mkRemovedOptionModule` and `mkRenamedOptionModule`.

These modules are not designed to work
inside an attribute set of submodules.
They create values for `assertions` and
`warnings` to inform the user of required changes.
Also, these informational texts do not contain
the full attribute path of the changed options.
To work around these deficiencies,
we define the required options `assertions` and `warnings`
inside the submodule and later add the values collected
inside these options to the corresponding top-level options.
In the course of doing so, we also add the full attribute path
to the informational texts so the user knows these warning
and error messages refer to the `tsmClient.servers` option.

Also, we have to filter out `warnings`, `assertions`, and
the "old" options when rendering the target config file.
2023-12-02 09:09:28 +01:00
Yarny0
98c03bf8c6 nixos/tsm-client: stricter assertions
Check for spaces or duplicate names in server config keys.
Since server config keys are case insensitive,
a setting like

```
{
  compression = "yes";
  Compression = "no";
}
```

would lead to an ambiguous configuration.
2023-12-02 09:09:27 +01:00
Yarny0
3fb29fecd5 nixos/tsm-client: use freeformType for server config
`tsm-client` uses a global configuration
file that must contain coordinates for each
server that it is supposed to contact.
This configuration consists of text
lines with key-value pairs.

In the NixOS module, these servers may be declared
with an attribute set, where the attribute name
defines an alias for the server, and the value
is again an attribute set with the settings for
the respective server.
This is organized as an option of type `attrsOf submodule...`.

Before this commit:

Important settings have their own option within
the submodule.  For everything else, there is
the "catch-all" option `extraConfig` that may
be used to declare any key-value pairs.
There is also `text` that can be used to
add arbitrary text to each server's
section in the global config file.

After this commit:

`extraConfig` and `text` are gone,
the attribute names and values of each server's attribute
set are translated directly into key-value pairs,
with the following notable rules:

* Lists are translated into multiple lines
  with the same key, as such is permitted by
  the software for certain keys.
* `null` may be used to override/shadow a value that
  is defined elsewhere and hides the corresponding key.

Those "important settings" that have previously been
defined as dedicated options are still defined as such,
but they have been renamed to match their
corresponding key names in the configuration file.
There is a notable exception:
"Our" boolean option `genPasswd` influences the "real"
option `passwordaccess', but the latter one is
uncomfortable to use and might lead
to undesirable outcome if used the wrong way.
So it seems advisable to keep the boolean option
and the warning in its description.
To this end, the value of `getPasswd` itself is
later filtered out when the config file is generated.

The tsm-backup service module and the vm test are adapted.

Migration code will be added in a separate
commit to permit easy reversal later, when the
migration code is no longer deemed necessary.
2023-12-02 09:09:27 +01:00
Yarny0
8b918ed8ab nixos/tsm-client: submodule doesn't need singleton list 2023-12-02 09:09:27 +01:00
Yarny0
5bc6eb731e nixos/tsm-client: server alias names cannot have spaces 2023-12-02 09:09:27 +01:00
Yarny0
fe96d79adf nixos/tsm-client: drop own checkIUnique for allUnique 2023-12-02 09:09:27 +01:00
Yarny0
363cf1e363 nixos/tsm-client: use mkPackageOption for wrappedPackage 2023-12-02 09:08:47 +01:00
Yarny0
d5f337809e nixos/backup/tsm: use lib.getExe' for service command line 2023-12-02 09:05:45 +01:00
Yarny0
cec6d7f51a nixos/tsm*: update product name and URLs
With the tsm-client 8.1.19.0 release,
IBM renamed the product brand from
"IBM Spectrum Protect" to "IBM Storage Protect":
https://www.ibm.com/support/pages/node/6964770 .

The package already got updated in commits
5ff5b2ae4c and
a4b7a62532 .

The commit at hand updates the modules accordingly.
2023-12-02 09:05:45 +01:00
Bobby Rong
74065b1858
nixos/rl-2405: Mention Cinnamon 6.0 update 2023-12-02 14:06:13 +08:00