First try at docker VM

This commit is contained in:
Théo Barnouin 2025-05-14 10:55:34 +02:00
parent 3c77453787
commit b4ffe6215b
4 changed files with 232 additions and 0 deletions

View file

@ -14,15 +14,22 @@ in {
file = ../../secrets/jellyfin-lapi-key.age;
owner = "crowdsec";
};
boot = {
kernelPackages = pkgs.linuxPackages_latest;
kernelParams = ["intel_pstate=enable"];
kernelModules = ["kvm-intel"];
};
systemd.services.jellyfin.environment.LIBVA_DRIVER_NAME = "iHD";
environment = {
sessionVariables = { LIBVA_DRIVER_NAME = "iHD"; };
systemPackages = with pkgs; [
cifs-utils
s-tui
];
};
# Intel Hardware Acceleration config
hardware = {
cpu.intel.updateMicrocode = true;
enableAllFirmware = true;
intel-gpu-tools.enable = true;
graphics = {