mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 09:43:11 +01:00
ba686839ec
Now that I have figured out how to get all the Windows applications I previously used working under Wine (including those that didn't work in the virtual machine after trying to manually install dependencies) there is no reason for me to use vmware. Using NixOS for Windows applications allows them to be used with systemd-nspawn containers, thus achieving things like isolation, private networks, impermanence, and more. All of this without having to maintain a separate operating system install.
15 lines
469 B
Nix
15 lines
469 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";
|
|
"x-scheme-handler/http" = "${VARIABLES.defaultBrowser}.desktop";
|
|
"x-scheme-handler/https" = "${VARIABLES.defaultBrowser}.desktop";
|
|
};
|
|
};
|
|
}
|