diff options
author | Jan Malakhovski <oxij@oxij.org> | 2018-09-08 21:43:42 +0000 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-09-08 17:20:56 -0500 |
commit | b23f6a37146aaf7f87788658594585a391da86ce (patch) | |
tree | d4b41dd6a8e96109bda094a3d512fdda74906320 /nixos | |
parent | ca80826d309e3c68e93ff04e2a5080253debf6aa (diff) |
nixos: xdg: fix indent and eol spaces
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/config/xdg/mime.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nixos/modules/config/xdg/mime.nix b/nixos/modules/config/xdg/mime.nix index eb8ac2a54ace5..4323a49ea1dd0 100644 --- a/nixos/modules/config/xdg/mime.nix +++ b/nixos/modules/config/xdg/mime.nix @@ -7,7 +7,7 @@ with lib; type = types.bool; default = true; description = '' - Whether to install files to support the + Whether to install files to support the <link xlink:href="https://specifications.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html">XDG Shared MIME-info specification</link> and the <link xlink:href="https://specifications.freedesktop.org/mime-apps-spec/mime-apps-spec-latest.html">XDG MIME Applications specification</link>. ''; @@ -17,18 +17,18 @@ with lib; config = mkIf config.xdg.mime.enable { environment.pathsToLink = [ "/share/mime" ]; - environment.systemPackages = [ - # this package also installs some useful data, as well as its utilities - pkgs.shared-mime-info + environment.systemPackages = [ + # this package also installs some useful data, as well as its utilities + pkgs.shared-mime-info ]; environment.extraSetup = '' if [ -w $out/share/mime ] && [ -d $out/share/mime/packages ]; then - XDG_DATA_DIRS=$out/share ${pkgs.shared-mime-info}/bin/update-mime-database -V $out/share/mime > /dev/null + XDG_DATA_DIRS=$out/share ${pkgs.shared-mime-info}/bin/update-mime-database -V $out/share/mime > /dev/null fi if [ -w $out/share/applications ]; then - ${pkgs.desktop-file-utils}/bin/update-desktop-database $out/share/applications + ${pkgs.desktop-file-utils}/bin/update-desktop-database $out/share/applications fi ''; }; |