mreow
This commit is contained in:
@@ -1,18 +1,33 @@
|
||||
{ den, modules, ... }:
|
||||
{
|
||||
modules.wivrn = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
wivrn
|
||||
wayvr
|
||||
];
|
||||
};
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
# nixpkgs builds wivrn with NVENC off (WIVRN_USE_NVENC follows cudaSupport);
|
||||
# without it "nvenc" in config.json fails with "Failed to find a suitable video encoder"
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
wivrn = prev.wivrn.override { cudaSupport = true; };
|
||||
})
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
wivrn
|
||||
wayvr
|
||||
];
|
||||
};
|
||||
|
||||
nixos =
|
||||
{ pkgs, lib, ... }:
|
||||
{
|
||||
# nixpkgs only enables the NVENC encoder (WIVRN_USE_NVENC) when cudaSupport is set;
|
||||
# without it "nvenc" in config.json fails with "Failed to find a suitable video encoder"
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
wivrn = prev.wivrn.override { cudaSupport = true; };
|
||||
})
|
||||
];
|
||||
|
||||
services.wivrn = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
|
||||
Reference in New Issue
Block a user