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;
|
||||
associations.added = {
|
||||
"application/pdf" = [ browser ];
|
||||
"image/jpeg" = [ browser ];
|
||||
"image/png" = [ browser ];
|
||||
};
|
||||
defaultApplications = {
|
||||
"text/html" = browser;
|
||||
"application/pdf" = [ browser ];
|
||||
"image/jpeg" = [ browser ];
|
||||
"image/png" = [ browser ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
|
@ -25,7 +26,7 @@ in
|
|||
programs = {
|
||||
firefox = {
|
||||
enable = true;
|
||||
# package = inputs.firefox.packages.${system}.firefox-nightly-bin;
|
||||
package = pkgs.firefox;
|
||||
languagePacks = [
|
||||
"en-US"
|
||||
"zh-TW"
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ let
|
|||
|
||||
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
|
||||
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
|
||||
''${startupScript}/bin/start''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue