25 lines
622 B
Nix
25 lines
622 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
# KDE specific firefox settings
|
|
programs.firefox = {
|
|
policies = {
|
|
"Preferences" = {
|
|
# Make firefox use the kde file picker
|
|
"widget.use-xdg-desktop-portal.file-picker" = {
|
|
"Value" = 1;
|
|
"Status" = "default";
|
|
};
|
|
/*
|
|
https://wiki.archlinux.org/title/Firefox#KDE_integration tells me to enable this,
|
|
but strangely enough doing so makes firefox ask to be set as the default browser
|
|
every time you start it up, so I'll disable it
|
|
*/
|
|
"widget.use-xdg-desktop-portal.mime-handler" = {
|
|
"Value" = 0;
|
|
"Status" = "default";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|