diff --git a/home/config/chromium/default.nix b/home/config/chromium/default.nix index 5428132b..f512d6e8 100644 --- a/home/config/chromium/default.nix +++ b/home/config/chromium/default.nix @@ -1,6 +1,6 @@ { pkgs, config, ... }: { - file = (pkgs.formats.json { }).generate "ChromiumConfig" { + preferences = (pkgs.formats.json { }).generate "ChromiumConfig" { bookmark_bar.show_on_all_tabs = false; browser.show_home_button = false; 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; + }; + }; } diff --git a/home/config/default.nix b/home/config/default.nix index e6e963fa..e7c76272 100644 --- a/home/config/default.nix +++ b/home/config/default.nix @@ -29,7 +29,8 @@ in ".config/MangoHud/MangoHud.conf".source = mangohud.config; ".config/MangoHud/presets.conf".source = mangohud.presets; ".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/fuzzel/fuzzel.ini".source = fuzzel.file; ".config/gtk-3.0/bookmarks".text = gtk3.bookmarks;