Chromium: Manage flags declaratively.
This commit is contained in:
parent
72ed9e7e17
commit
edb6244792
|
@ -1,6 +1,6 @@
|
||||||
{ pkgs, config, ... }:
|
{ pkgs, config, ... }:
|
||||||
{
|
{
|
||||||
file = (pkgs.formats.json { }).generate "ChromiumConfig" {
|
preferences = (pkgs.formats.json { }).generate "ChromiumConfig" {
|
||||||
bookmark_bar.show_on_all_tabs = false;
|
bookmark_bar.show_on_all_tabs = false;
|
||||||
browser.show_home_button = false;
|
browser.show_home_button = false;
|
||||||
default_apps_install_state = 2;
|
default_apps_install_state = 2;
|
||||||
|
@ -76,4 +76,13 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
localState = (pkgs.formats.json { }).generate "ChromiumLocalState" {
|
||||||
|
browser = {
|
||||||
|
enabled_labs_experiments = [
|
||||||
|
"smooth-scrolling@2"
|
||||||
|
];
|
||||||
|
first_run_finished = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,8 @@ in
|
||||||
".config/MangoHud/MangoHud.conf".source = mangohud.config;
|
".config/MangoHud/MangoHud.conf".source = mangohud.config;
|
||||||
".config/MangoHud/presets.conf".source = mangohud.presets;
|
".config/MangoHud/presets.conf".source = mangohud.presets;
|
||||||
".config/btop/btop.conf".text = btop.text;
|
".config/btop/btop.conf".text = btop.text;
|
||||||
".config/chromium/Default/Preferences".source = chromium.file;
|
".config/chromium/Default/Preferences".source = chromium.preferences;
|
||||||
|
".config/chromium/Local State".source = chromium.localState;
|
||||||
".config/foot/foot.ini".source = foot.file;
|
".config/foot/foot.ini".source = foot.file;
|
||||||
".config/fuzzel/fuzzel.ini".source = fuzzel.file;
|
".config/fuzzel/fuzzel.ini".source = fuzzel.file;
|
||||||
".config/gtk-3.0/bookmarks".text = gtk3.bookmarks;
|
".config/gtk-3.0/bookmarks".text = gtk3.bookmarks;
|
||||||
|
|
Loading…
Reference in a new issue