libnvidia-container: include binaries from driver package (#372320)
[NixPkgs.git] / nixos / modules / config / appstream.nix
blobedac18b9ba36cc0a2751c4d61e7d98794c9910b3
1 { config, lib, ... }:
3   options = {
4     appstream.enable = lib.mkOption {
5       type = lib.types.bool;
6       default = true;
7       description = ''
8         Whether to install files to support the
9         [AppStream metadata specification](https://www.freedesktop.org/software/appstream/docs/index.html).
10       '';
11     };
12   };
14   config = lib.mkIf config.appstream.enable {
15     environment.pathsToLink = [
16       # per component metadata
17       "/share/metainfo"
18       # legacy path for above
19       "/share/appdata"
20     ];
21   };