From c553db111e8b6a08418835917f9497d9366f22cb Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Tue, 20 Feb 2024 23:59:55 +0300 Subject: [PATCH] Gnome : Force disable pulseaudio. --- .config/linux/system/module/Gnome.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.config/linux/system/module/Gnome.nix b/.config/linux/system/module/Gnome.nix index 290f270..8f87026 100644 --- a/.config/linux/system/module/Gnome.nix +++ b/.config/linux/system/module/Gnome.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: let +{ pkgs, lib, ... }: let dconfConfig = "~/.config/linux/Gnome.dconf"; in { # GUI. @@ -43,7 +43,7 @@ in { # Sound. sound.enable = true; - hardware.pulseaudio.enable = false; + hardware.pulseaudio.enable = lib.mkForce false; security.rtkit.enable = true; services.pipewire = { enable = true; @@ -54,7 +54,6 @@ in { # Auto-load config on start. environment.systemPackages = with pkgs; [ dconf ]; - systemd.user.services.dconfload = { description = "Load Gnome dconf settings on startup."; wantedBy = [ "graphical-session-pre.target" ];