[General]: Update configuration to NixOS 23.05 beta

This commit is contained in:
Antoine Viallon 2023-05-25 11:38:51 +02:00
parent 786727693f
commit e7f7c9a669
Signed by: aviallon
GPG key ID: 186FC35EDEB25716
9 changed files with 46 additions and 27 deletions

View file

@ -21,7 +21,7 @@ in {
description = "Ryujinx Switch emulator package";
type = myLib.types.package';
default = pkgs.unstable.ryujinx;
example = literalExample "pkgs.unstable.ryujinx";
example = literalExpression "pkgs.unstable.ryujinx";
};
};
};
@ -88,7 +88,6 @@ in {
};
programs.steam.package = pkgs.steam.override {
withJava = true;
extraPkgs = pkgs: [
pkgs.gamescope
];

View file

@ -56,11 +56,6 @@ in {
alsa.enable = true;
alsa.support32Bit = mkDefault true;
wireplumber.enable = true;
config.pipewire-pulse = {
"context.exec" = [
{ path = "pactl"; args = ''load-module module-combine-sink sink_name="Sorties combinées"''; }
];
};
};
environment.etc = {
"wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = ''
@ -71,6 +66,16 @@ in {
["bluez5.headset-roles"] = "[ hsp_hs hsp_ag hfp_hf hfp_ag ]"
}
'';
"pipewire/pipewire-pulse.conf.d/combined-outputs.json".text = ''
{
"context.exec": [
{
"args": "load-module module-combine-sink sink_name=\"Sorties combinées\"",
"path": "pactl"
}
]
}
'';
};
security.rtkit.enable = true; # Real-time support for pipewire

View file

@ -34,7 +34,11 @@ in {
enable = true;
runUsingSystemd = true;
useQtScaling = true;
supportDDC = true;
# Removed in: https://github.com/NixOS/nixpkgs/pull/172078
# and: https://github.com/NixOS/nixpkgs/pull/221721
# Once this (https://invent.kde.org/plasma/powerdevil/-/issues/19) is solved, make PR to add it back (prehaps by default?)
# supportDDC = true;
};
systemd.tmpfiles.rules = mkAfter [