diff options
Diffstat (limited to 'users/seth/desktop/default.nix')
| -rw-r--r-- | users/seth/desktop/default.nix | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/users/seth/desktop/default.nix b/users/seth/desktop/default.nix index d572a55..dc5f93b 100644 --- a/users/seth/desktop/default.nix +++ b/users/seth/desktop/default.nix @@ -17,14 +17,29 @@ in { options.desktop.enable = mkEnableOption "enable desktop configuration"; - config.home = mkIf cfg.enable { - packages = with pkgs; [ - chromium + config = mkIf cfg.enable { + home.packages = with pkgs; [ discord element-desktop spotify steam prismlauncher ]; + + programs = { + chromium = { + enable = true; + # hw accel support + commandLineArgs = [ + "--ignore-gpu-blocklist" + "--enable-gpu-rasterization" + "--enable-gpu-compositing" + "--enable-native-gpu-memory-buffers" + "--enable-zero-copy" + "--enable-features=VaapiVideoDecoder,VaapiVideoEncoder,CanvasOopRasterization,RawDraw,WebRTCPipeWireCapturer,Vulkan,WaylandWindowDecorations,WebUIDarkMode" + "--force-dark-mode" + ]; + }; + }; }; } |
