Firefox : Move from common to desktop.
This commit is contained in:
parent
3ba1edb4bc
commit
551b6bec97
|
@ -1,6 +1,10 @@
|
|||
{ pkgs, ... } @args: let
|
||||
mangohud = import ./mangohud args;
|
||||
in {
|
||||
imports = [
|
||||
./firefox
|
||||
];
|
||||
|
||||
xdg.mime.defaultApplications = {
|
||||
# Use `file -i file.txt` to find file mime type.
|
||||
# Use `xdg-mime query default "text/plain"` to find default app.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ util, ... }: {
|
||||
config = util.trimTabs ''
|
||||
text = util.trimTabs ''
|
||||
// Bookmarks.
|
||||
lockPref("browser.microsummary.enabled", true);
|
||||
lockPref("browser.places.importBookmarksHTML", true);
|
|
@ -1,5 +1,5 @@
|
|||
{ pkgs, util, ... } @args: let
|
||||
firefox = import ./firefox args;
|
||||
config = import ./Config.nix args;
|
||||
|
||||
mkExtension = url: {
|
||||
installation_mode = "force_installed";
|
||||
|
@ -18,7 +18,7 @@ in {
|
|||
enable = true;
|
||||
package = pkgs.firefox-esr;
|
||||
languagePacks = [ "en-US" "ru" ];
|
||||
autoConfig = firefox.config;
|
||||
autoConfig = config.text;
|
||||
policies = {
|
||||
ManagedBookmarks = [
|
||||
{ toplevel_name = "Pin"; }
|
Loading…
Reference in a new issue