feat(mediabox): hardware transcoding

This commit is contained in:
arcnmx 2024-01-18 16:50:57 -08:00
parent 1532d7c183
commit 624f7f4a6f
2 changed files with 9 additions and 0 deletions

View file

@ -2,6 +2,7 @@
config, config,
meta, meta,
lib, lib,
pkgs,
... ...
}: { }: {
imports = with meta; [ imports = with meta; [
@ -46,6 +47,11 @@
}; };
}; };
hardware.opengl = {
enable = true;
extraPackages = with pkgs; [ mesa.drivers vaapiVdpau libvdpau-va-gl ];
};
sops.defaultSopsFile = ./secrets.yaml; sops.defaultSopsFile = ./secrets.yaml;
system.stateVersion = "21.05"; system.stateVersion = "21.05";

View file

@ -28,6 +28,9 @@ module "mediabox_system_records" {
zone_id = cloudflare_zone.gensokyo-zone_zone.id zone_id = cloudflare_zone.gensokyo-zone_zone.id
zone_zone = cloudflare_zone.gensokyo-zone_zone.zone zone_zone = cloudflare_zone.gensokyo-zone_zone.zone
local_v6 = "fd0a::be24:11ff:fe34:f4a8" local_v6 = "fd0a::be24:11ff:fe34:f4a8"
local_subdomains = [
"plex",
]
} }
module "tewi_legacy_system_records" { module "tewi_legacy_system_records" {