mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[General]: Update configuration to NixOS 23.05 beta
This commit is contained in:
parent
786727693f
commit
e7f7c9a669
9 changed files with 46 additions and 27 deletions
|
|
@ -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
|
||||
];
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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 [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue