Skip to content

Commit

Permalink
Add obs-studio with vaapi encoder
Browse files Browse the repository at this point in the history
  • Loading branch information
joinemm committed Aug 31, 2024
1 parent a556eac commit 13cf9e5
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 8 deletions.
10 changes: 10 additions & 0 deletions home-modules/gaming.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,21 @@
home.packages = with pkgs; [
prismlauncher
mangohud
kdePackages.kdenlive
];

# makes steam download a lot faster
home.file.".steam/steam/steam_dev.cfg".text = ''
@nClientDownloadEnableHTTP2PlatformLinux 0
@fDownloadRateImprovementToAddAnotherConnection 1.0
'';

programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
obs-vaapi
obs-vkcapture
obs-websocket
];
};
}
22 changes: 14 additions & 8 deletions modules/gaming.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,18 @@
xone.enable = true;
};

environment.systemPackages = with pkgs; [
vulkan-tools
vulkan-loader
vulkan-validation-layers
vulkan-extension-layer
protontricks
inputs.nix-gaming.packages.${pkgs.system}.wine-ge
];
environment.systemPackages =
with pkgs;
[
vulkan-tools
vulkan-loader
vulkan-validation-layers
vulkan-extension-layer
protontricks
libva-utils
gst_all_1.gstreamer
gst_all_1.gst-libav
gst_all_1.gst-vaapi
]
++ [ inputs.nix-gaming.packages.${pkgs.system}.wine-ge ];
}

0 comments on commit 13cf9e5

Please sign in to comment.