about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-10-19 21:32:17 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2019-11-03 10:19:25 -0500
commit4bdbbc1b339d3e74d13c964e120fd27ad6bf3303 (patch)
tree057a521d2ac97e8fe17c38abfa7b28ed475775a0 /nixos/modules
parent58c618f7219f008823c74473760815fe3fcdc73f (diff)
downloadnixlib-4bdbbc1b339d3e74d13c964e120fd27ad6bf3303.tar
nixlib-4bdbbc1b339d3e74d13c964e120fd27ad6bf3303.tar.gz
nixlib-4bdbbc1b339d3e74d13c964e120fd27ad6bf3303.tar.bz2
nixlib-4bdbbc1b339d3e74d13c964e120fd27ad6bf3303.tar.lz
nixlib-4bdbbc1b339d3e74d13c964e120fd27ad6bf3303.tar.xz
nixlib-4bdbbc1b339d3e74d13c964e120fd27ad6bf3303.tar.zst
nixlib-4bdbbc1b339d3e74d13c964e120fd27ad6bf3303.zip
nixos/gnome3: add sound-theme-freedesktop
I've noticed a similar issue in Pantheon, without this
sound theme installed there's no system sounds.
I believe it's because the gnome theme and the pantheon
theme inherit this one.
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/x11/desktop-managers/gnome3.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/gnome3.nix b/nixos/modules/services/x11/desktop-managers/gnome3.nix
index 5ad31e5b9d00..0aae25662c64 100644
--- a/nixos/modules/services/x11/desktop-managers/gnome3.nix
+++ b/nixos/modules/services/x11/desktop-managers/gnome3.nix
@@ -217,6 +217,12 @@ in
 
       services.xserver.updateDbusEnvironment = true;
 
+      # gnome has a custom alert theme but it still
+      # inherits from the freedesktop theme.
+      environment.systemPackages = with pkgs; [
+        sound-theme-freedesktop
+      ];
+
       # Needed for themes and backgrounds
       environment.pathsToLink = [
         "/share" # TODO: https://github.com/NixOS/nixpkgs/issues/47173