-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdefault.nix
32 lines (32 loc) · 1.03 KB
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
_: {
# Override applications with useful things I want to have
nixpkgs.overlays = let
thisConfigsOverlay = final: _prev: {
# Enable dark mode, hardware acceleration & add WideVine plugin
chromium-flagged = final.chromium.override {
commandLineArgs = [
"--enable-accelerated-2d-canvas"
"--enable-features=UseOzonePlatform,WebUIDarkMode,VaapiVideoDecoder,WebContentsForceDark:classifier_policy/transparency_and_num_colors"
"--enable-gpu-rasterization"
"--enable-smooth-scrolling"
"--enable-zero-copy"
"--ignore-gpu-blacklist"
"--ozone-platform=wayland"
"--smooth-scrolling"
];
enableWideVine = true;
};
# OBS with plugins
obs-studio-wrapped = final.wrapOBS.override {inherit (final) obs-studio;} {
plugins = with final.obs-studio-plugins; [
obs-gstreamer
obs-pipewire-audio-capture
obs-vaapi
obs-vkcapture
];
};
};
in [
thisConfigsOverlay
];
}