mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
877ce570bf
This is possible since each home-manager module is now its own self-contained nix file.
16 lines
533 B
Nix
16 lines
533 B
Nix
let VARIABLES = import ../src/variables.nix; in {
|
|
xdg.mimeApps = {
|
|
enable = true;
|
|
|
|
defaultApplications = {
|
|
"image/png" = "feh.desktop";
|
|
"image/jpeg" = "feh.desktop";
|
|
"image/gif" = "org.qutebrowser.qutebrowser.desktop";
|
|
"application/x-wine-extension-osz" = "osu-stable.desktop";
|
|
"application/x-vmware-vm" = "vmware-workstation.desktop";
|
|
"x-scheme-handler/http" = "${VARIABLES.defaultBrowser}.desktop";
|
|
"x-scheme-handler/https" = "${VARIABLES.defaultBrowser}.desktop";
|
|
};
|
|
};
|
|
}
|