Merge pull request #71416 from worldofpeace/gnome3-sound-theme
nixos/gnome3: add sound-theme-freedesktop
This commit is contained in:
commit
6783fdd561
@ -1,4 +1,4 @@
|
|||||||
{ config, lib, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
{
|
{
|
||||||
@ -14,6 +14,10 @@ with lib;
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf config.xdg.sounds.enable {
|
config = mkIf config.xdg.sounds.enable {
|
||||||
|
environment.systemPackages = [
|
||||||
|
pkgs.sound-theme-freedesktop
|
||||||
|
];
|
||||||
|
|
||||||
environment.pathsToLink = [
|
environment.pathsToLink = [
|
||||||
"/share/sounds"
|
"/share/sounds"
|
||||||
];
|
];
|
||||||
|
@ -217,6 +217,12 @@ in
|
|||||||
|
|
||||||
services.xserver.updateDbusEnvironment = true;
|
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
|
# Needed for themes and backgrounds
|
||||||
environment.pathsToLink = [
|
environment.pathsToLink = [
|
||||||
"/share" # TODO: https://github.com/NixOS/nixpkgs/issues/47173
|
"/share" # TODO: https://github.com/NixOS/nixpkgs/issues/47173
|
||||||
|
Loading…
x
Reference in New Issue
Block a user