mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat(mediabox): hardware transcoding
This commit is contained in:
parent
1532d7c183
commit
624f7f4a6f
2 changed files with 9 additions and 0 deletions
|
|
@ -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";
|
||||||
|
|
|
||||||
|
|
@ -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" {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue