fix: mime type
This commit is contained in:
parent
7bdc1c4048
commit
8c739b17f1
3 changed files with 7 additions and 2 deletions
|
|
@ -35,10 +35,14 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
associations.added = {
|
associations.added = {
|
||||||
"application/pdf" = [ browser ];
|
"application/pdf" = [ browser ];
|
||||||
|
"image/jpeg" = [ browser ];
|
||||||
|
"image/png" = [ browser ];
|
||||||
};
|
};
|
||||||
defaultApplications = {
|
defaultApplications = {
|
||||||
"text/html" = browser;
|
"text/html" = browser;
|
||||||
"application/pdf" = [ browser ];
|
"application/pdf" = [ browser ];
|
||||||
|
"image/jpeg" = [ browser ];
|
||||||
|
"image/png" = [ browser ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
|
@ -25,7 +26,7 @@ in
|
||||||
programs = {
|
programs = {
|
||||||
firefox = {
|
firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# package = inputs.firefox.packages.${system}.firefox-nightly-bin;
|
package = pkgs.firefox;
|
||||||
languagePacks = [
|
languagePacks = [
|
||||||
"en-US"
|
"en-US"
|
||||||
"zh-TW"
|
"zh-TW"
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ let
|
||||||
|
|
||||||
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
|
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
|
||||||
dbus-update-activation-environment --systemd --all &
|
dbus-update-activation-environment --systemd --all &
|
||||||
systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
|
systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME &
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
''${startupScript}/bin/start''
|
''${startupScript}/bin/start''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue