summaryrefslogtreecommitdiff
path: root/home/ebisu/core/browser
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-08 18:07:53 -0700
committerFuwn <[email protected]>2024-10-08 18:07:53 -0700
commit8d219844fb07544fc1923d675a0eb18a59546999 (patch)
treead461b73fa034ea17209dd56f1bdc60571fa9663 /home/ebisu/core/browser
parenthome: move notion to kansai (diff)
downloadnixos-config-8d219844fb07544fc1923d675a0eb18a59546999.tar.xz
nixos-config-8d219844fb07544fc1923d675a0eb18a59546999.zip
home: move primary browsers to core
Diffstat (limited to 'home/ebisu/core/browser')
-rw-r--r--home/ebisu/core/browser/default.nix10
-rw-r--r--home/ebisu/core/browser/thorium.nix23
2 files changed, 33 insertions, 0 deletions
diff --git a/home/ebisu/core/browser/default.nix b/home/ebisu/core/browser/default.nix
new file mode 100644
index 0000000..a8868b1
--- /dev/null
+++ b/home/ebisu/core/browser/default.nix
@@ -0,0 +1,10 @@
+{ pkgs, ... }:
+{
+ imports = [ ./thorium.nix ];
+
+ home.packages = with pkgs; [
+ tor-browser-bundle-bin
+ tsutsumi.zen-browser-bin
+ epiphany
+ ];
+}
diff --git a/home/ebisu/core/browser/thorium.nix b/home/ebisu/core/browser/thorium.nix
new file mode 100644
index 0000000..46688b2
--- /dev/null
+++ b/home/ebisu/core/browser/thorium.nix
@@ -0,0 +1,23 @@
+{ pkgs, ... }:
+{
+ home.packages = [ pkgs.tsutsumi.thorium ];
+
+ xdg.configFile."thorium-flags.conf".text = ''
+ --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer,TouchpadOverscrollHistoryNavigation
+ --ozone-platform=wayland
+ --ignore-gpu-blocklist
+ --enable-gpu-rasterization
+ --enable-zero-copy
+ --disable-gpu-driver-bug-workarounds
+ --enable-features=VaapiVideoDecoder
+ --enable-native-gpu-memory-buffers
+ --disable-features=UseSkiaRenderer
+ --use-cmd-decoder=passthrough
+ --process-per-site
+ --force-dark-mode
+ --enable-features=WebUIDarkMode
+ --enable-unsafe-webgpu
+ --gtk-version=4
+ --enable-wayland-ime
+ '';
+}