3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/config/xdg/sounds.nix

23 lines
468 B
Nix
Raw Normal View History

2018-12-04 19:00:18 +00:00
{ config, lib, ... }:
with lib;
{
options = {
xdg.sounds.enable = mkOption {
type = types.bool;
default = true;
description = ''
Whether to install files to support the
<link xlink:href="https://www.freedesktop.org/wiki/Specifications/sound-theme-spec/">XDG Sound Theme specification</link>.
'';
};
};
config = mkIf config.xdg.sounds.enable {
environment.pathsToLink = [
"/share/sounds"
];
};
}