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