From 4b33f2cd951c4c1a8fb15abdccfe58e6e189b3b1 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Tue, 24 Sep 2024 13:15:37 +0200 Subject: [PATCH] gnome: add rhythmbox as default audio player --- home/common/mime.nix | 1 + modules/gnome.nix | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/home/common/mime.nix b/home/common/mime.nix index 6b20e7d..7c8435f 100644 --- a/home/common/mime.nix +++ b/home/common/mime.nix @@ -10,6 +10,7 @@ "x-scheme-handler/about" = [ "firefox.desktop" ]; "x-scheme-handler/unknown" = [ "firefox.desktop" ]; "application/pdf" = [ "org.gnome.Evince.desktop" ]; + "audio/wav" = [ "rhythmbox" ]; }; }; } diff --git a/modules/gnome.nix b/modules/gnome.nix index 9ad32ea..13e3a2c 100644 --- a/modules/gnome.nix +++ b/modules/gnome.nix @@ -24,12 +24,12 @@ in }; environment.gnome.excludePackages = - (with pkgs; [ gnome-console gnome-photos gnome-music gnome-tour gnome-software iagno hitori atomix gnome-contacts gnome-initial-setup gedit cheese tali epiphany geary yelp ]); + (with pkgs; [ gnome-console gnome-photos gnome-tour gnome-software iagno hitori atomix gnome-contacts gnome-initial-setup gnome-music gedit cheese tali epiphany geary yelp ]); environment.systemPackages = with pkgs; [ - gnome-music gnome-tweaks gnome-power-manager + rhythmbox ]; stylix = lib.mkIf stylixEnabled { targets = {