Gnome : Force disable pulseaudio.

This commit is contained in:
Dmitry Voronin 2024-02-20 23:59:55 +03:00
parent c10024ed33
commit c553db111e

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: let { pkgs, lib, ... }: let
dconfConfig = "~/.config/linux/Gnome.dconf"; dconfConfig = "~/.config/linux/Gnome.dconf";
in { in {
# GUI. # GUI.
@ -43,7 +43,7 @@ in {
# Sound. # Sound.
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = lib.mkForce false;
security.rtkit.enable = true; security.rtkit.enable = true;
services.pipewire = { services.pipewire = {
enable = true; enable = true;
@ -54,7 +54,6 @@ in {
# Auto-load config on start. # Auto-load config on start.
environment.systemPackages = with pkgs; [ dconf ]; environment.systemPackages = with pkgs; [ dconf ];
systemd.user.services.dconfload = { systemd.user.services.dconfload = {
description = "Load Gnome dconf settings on startup."; description = "Load Gnome dconf settings on startup.";
wantedBy = [ "graphical-session-pre.target" ]; wantedBy = [ "graphical-session-pre.target" ];