Minimal changes to make 24.05 compile on framework

This commit is contained in:
Natsu Kagami 2024-05-27 11:03:15 +02:00
parent 7d19c95472
commit 1cba13a2e8
Signed by: nki
GPG key ID: 55A032EB38B49ADB
8 changed files with 75 additions and 50 deletions

View file

@ -65,13 +65,13 @@ let
};
rt-audio = { pkgs, ... }: mkIf cfg.enable {
services.pipewire.lowLatency = {
# enable this module
enable = true;
# defaults (no need to be set unless modified)
quantum = 32;
rate = 48000;
};
# services.pipewire.lowLatency = {
# # enable this module
# enable = true;
# # defaults (no need to be set unless modified)
# quantum = 32;
# rate = 48000;
# };
security.rtkit.enable = true;
# Real time configurations
@ -305,11 +305,11 @@ in
xdg.portal = {
enable = true;
wlr.enable = true;
xdgOpenUsePortal = true;
# gtk portal needed to make gtk apps happy
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
config.common.default = [ "gtk" ];
config.common."org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ];
config.sway."org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ];
config.sway.default = [ "wlr" "gtk" ];
};
# D-Bus