summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2023-01-31 09:42:28 +0100
committerVladimír Čunát <v@cunat.cz>2023-01-31 09:42:28 +0100
commite4957a85c9db87ed5124310dfbb5f4c9886c1b75 (patch)
tree6c50588ca75332cf57b652dcef70a6034b2c5fdd /nixos
parent7f299adbdd1cb798a3639350c8cba6bdeab7ab53 (diff)
parent66bb8338fc1de14e3b9c765590fa6ef93cd399ef (diff)
Merge #211923: staging-next 2023-01-21
Diffstat (limited to 'nixos')
-rw-r--r--nixos/doc/manual/from_md/release-notes/rl-2305.section.xml17
-rw-r--r--nixos/doc/manual/release-notes/rl-2305.section.md7
-rw-r--r--nixos/modules/services/desktops/pipewire/daemon/client-rt.conf.json17
-rw-r--r--nixos/modules/services/desktops/pipewire/daemon/jack.conf.json12
-rw-r--r--nixos/modules/services/hardware/bluetooth.nix27
5 files changed, 79 insertions, 1 deletions
diff --git a/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml
index 87535cab12b3..dd0e6a5d068d 100644
--- a/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml
+++ b/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml
@@ -353,6 +353,12 @@
</listitem>
<listitem>
<para>
+ Calling <literal>makeSetupHook</literal> without passing a
+ <literal>name</literal> argument is deprecated.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
Qt 5.12 and 5.14 have been removed, as the corresponding
branches have been EOL upstream for a long time. This affected
under 10 packages in nixpkgs, largely unmaintained upstream as
@@ -413,6 +419,17 @@
https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core
</para>
</listitem>
+ <listitem>
+ <para>
+ The iputils package, which is installed by default, no longer
+ provides the <literal>ninfod</literal>,
+ <literal>rarpd</literal> and <literal>rdisc</literal> tools.
+ See
+ <link xlink:href="https://github.com/iputils/iputils/releases/tag/20221126">upstream’s
+ release notes</link> for more details and available
+ replacements.
+ </para>
+ </listitem>
</itemizedlist>
</section>
<section xml:id="sec-release-23.05-notable-changes">
diff --git a/nixos/doc/manual/release-notes/rl-2305.section.md b/nixos/doc/manual/release-notes/rl-2305.section.md
index 16f2714267d3..de455c1293bf 100644
--- a/nixos/doc/manual/release-notes/rl-2305.section.md
+++ b/nixos/doc/manual/release-notes/rl-2305.section.md
@@ -87,6 +87,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- The EC2 image module previously detected and activated swap-formatted instance store devices and partitions in stage-1 (initramfs). This behaviour has been removed. Users relying on this should provide their own implementation.
+- Calling `makeSetupHook` without passing a `name` argument is deprecated.
+
- Qt 5.12 and 5.14 have been removed, as the corresponding branches have been EOL upstream for a long time. This affected under 10 packages in nixpkgs, largely unmaintained upstream as well, however, out-of-tree package expressions may need to be updated manually.
- The [services.wordpress.sites.&lt;name&gt;.plugins](#opt-services.wordpress.sites._name_.plugins) and [services.wordpress.sites.&lt;name&gt;.themes](#opt-services.wordpress.sites._name_.themes) options have been converted from sets to attribute sets to allow for consumers to specify explicit install paths via attribute name.
@@ -101,6 +103,11 @@ In addition to numerous new and upgraded packages, this release has the followin
- .NET 5.0 was removed due to being end-of-life, use a newer, supported .NET version - https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core
+- The iputils package, which is installed by default, no longer provides the
+ `ninfod`, `rarpd` and `rdisc` tools. See
+ [upstream's release notes](https://github.com/iputils/iputils/releases/tag/20221126)
+ for more details and available replacements.
+
## Other Notable Changes {#sec-release-23.05-notable-changes}
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
diff --git a/nixos/modules/services/desktops/pipewire/daemon/client-rt.conf.json b/nixos/modules/services/desktops/pipewire/daemon/client-rt.conf.json
index 9aa51b61431d..c204606193af 100644
--- a/nixos/modules/services/desktops/pipewire/daemon/client-rt.conf.json
+++ b/nixos/modules/services/desktops/pipewire/daemon/client-rt.conf.json
@@ -35,5 +35,20 @@
}
],
"filter.properties": {},
- "stream.properties": {}
+ "stream.properties": {},
+ "alsa.properties": {},
+ "alsa.rules": [
+ {
+ "matches": [
+ {
+ "application.process.binary": "resolve"
+ }
+ ],
+ "actions": {
+ "update-props": {
+ "alsa.buffer-bytes": 131072
+ }
+ }
+ }
+ ]
}
diff --git a/nixos/modules/services/desktops/pipewire/daemon/jack.conf.json b/nixos/modules/services/desktops/pipewire/daemon/jack.conf.json
index 4a173f732297..f2e396dd28d7 100644
--- a/nixos/modules/services/desktops/pipewire/daemon/jack.conf.json
+++ b/nixos/modules/services/desktops/pipewire/daemon/jack.conf.json
@@ -58,6 +58,18 @@
"node.passive": true
}
}
+ },
+ {
+ "matches": [
+ {
+ "client.name": "Mixxx"
+ }
+ ],
+ "actions": {
+ "update-props": {
+ "jack.merge-monitor": false
+ }
+ }
}
]
}
diff --git a/nixos/modules/services/hardware/bluetooth.nix b/nixos/modules/services/hardware/bluetooth.nix
index 6453e6968dcc..2a58be51bb02 100644
--- a/nixos/modules/services/hardware/bluetooth.nix
+++ b/nixos/modules/services/hardware/bluetooth.nix
@@ -71,6 +71,29 @@ in
};
description = lib.mdDoc "Set configuration for system-wide bluetooth (/etc/bluetooth/main.conf).";
};
+
+ input = mkOption {
+ type = cfgFmt.type;
+ default = { };
+ example = {
+ General = {
+ IdleTimeout = 30;
+ ClassicBondedOnly = true;
+ };
+ };
+ description = lib.mdDoc "Set configuration for the input service (/etc/bluetooth/input.conf).";
+ };
+
+ network = mkOption {
+ type = cfgFmt.type;
+ default = { };
+ example = {
+ General = {
+ DisableSecurity = true;
+ };
+ };
+ description = lib.mdDoc "Set configuration for the network service (/etc/bluetooth/network.conf).";
+ };
};
};
@@ -80,6 +103,10 @@ in
environment.systemPackages = [ package ]
++ optional cfg.hsphfpd.enable pkgs.hsphfpd;
+ environment.etc."bluetooth/input.conf".source =
+ cfgFmt.generate "input.conf" cfg.input;
+ environment.etc."bluetooth/network.conf".source =
+ cfgFmt.generate "network.conf" cfg.network;
environment.etc."bluetooth/main.conf".source =
cfgFmt.generate "main.conf" (recursiveUpdate defaults cfg.settings);
services.udev.packages = [ package ];