1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-25 11:19:47 +01:00
home-manager/modules/misc
Timothy Gallion 038630363e
xdg-mime type package options (#5920)
* xdg-mime: allow overrides to shared-mime-info and desktop-file-utils

The `xdg-mime` module now exposes packages to determine what will be run
for update-mime-database and update-desktop-database. This allows users
to select a different version of these packages if the are incompatible.
This should, in combination with an override to the version of
`shared-mime-info` (can be found here notalltim/home-manager-config#4),
resolve #4955, #5102, #4682, and possibly #4941. The problem seems to stem
from a mismatch in the version of `shared-mime-info` with the host.

I also switched from using `buildPackages` to `pkgs` to improve
cross-compilation compatibility.

* xdg-mime: Add tests for xdg-mime module

The xdg-mime module was missing tests so I added basic test for all the
options and checked the basic behavior. It covers ensuring that the
proper files/folders are created and that the package overrides work.
2024-10-07 23:39:24 +02:00
..
qt kconfig: fix missing quoting 2024-04-22 17:21:19 +02:00
dconf.nix treewide: deprecate VERBOSE_ECHO 2024-01-24 13:36:05 +01:00
debug.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
editorconfig.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
fontconfig.nix fontconfig: add defaultFonts.* options 2024-05-10 18:48:17 +02:00
gtk.nix gtk: explicitly set default font size 2024-06-21 11:32:58 -04:00
lib.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
news.nix swayidle: make -w optional 2024-09-20 11:13:54 +02:00
nix.nix maintainers: remove polykernel 2024-07-28 11:58:33 -04:00
nixpkgs-disabled.nix nixpkgs-disabled: add module 2021-10-13 23:46:38 +02:00
nixpkgs.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
numlock.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
pam.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
qt.nix qt: fix qt.platformTheme = "gtk3" 2024-04-21 15:53:39 +02:00
specialisation.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
submodule-support.nix submodule-support: add default values for top-level configs 2024-08-23 19:56:03 +02:00
tmpfiles.nix tmpfiles: use only xdg.configFile 2023-08-31 14:18:55 +02:00
uninstall.nix home-manager: prepare release 24.05 2024-05-25 22:13:25 +02:00
version.nix version: allow 24.11 as state version 2024-05-23 09:07:00 +02:00
vte.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xdg-desktop-entries.nix xdg-desktop-entries: allow terminal to be null 2024-07-10 23:13:46 +02:00
xdg-mime-apps.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xdg-mime.nix xdg-mime type package options (#5920) 2024-10-07 23:39:24 +02:00
xdg-portal.nix xdg-portal: improve description of enable option 2024-04-27 09:40:03 +02:00
xdg-system-dirs.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xdg-user-dirs.nix xdg-user-dirs: check for existing symlink 2024-03-07 17:29:26 +02:00
xdg.nix xdg: add option 'xdg.stateFile' 2024-09-06 14:55:36 +02:00
xfconf.nix xfconf: fix config loading 2024-02-01 15:34:01 +01:00