From 7a048a8aeff2a8db2bac86e9abf85a4840bc2692 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Mon, 2 Dec 2024 22:23:41 +0000 Subject: [PATCH] nixos/desktop: remove some unnecessary options --- nixos/desktop/audio.nix | 7 +------ nixos/desktop/default.nix | 1 + nixos/desktop/fonts.nix | 1 - 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/nixos/desktop/audio.nix b/nixos/desktop/audio.nix index 31f61a87..e6ceee00 100644 --- a/nixos/desktop/audio.nix +++ b/nixos/desktop/audio.nix @@ -32,12 +32,7 @@ in services = { pipewire = { - enable = true; - alsa = { - enable = true; - support32Bit = true; - }; - pulse.enable = true; + alsa.support32Bit = config.nixos.desktop.games.enable; extraConfig = lib.mkIf cfg.lowLatency.enable { pipewire."92-low-latency" = { context.properties = { diff --git a/nixos/desktop/default.nix b/nixos/desktop/default.nix index 3b5c3bb0..facb1fee 100644 --- a/nixos/desktop/default.nix +++ b/nixos/desktop/default.nix @@ -44,6 +44,7 @@ in services = { dbus.implementation = "broker"; gnome.gnome-keyring.enable = true; + grapgical-desktop.enable = true; udisks2.enable = true; }; diff --git a/nixos/desktop/fonts.nix b/nixos/desktop/fonts.nix index 9d4bd5ff..690b0cae 100644 --- a/nixos/desktop/fonts.nix +++ b/nixos/desktop/fonts.nix @@ -12,7 +12,6 @@ config = lib.mkIf config.nixos.desktop.fonts.enable { fonts = { - enableDefaultPackages = true; fontDir.enable = true; packages = with pkgs; [