First try at docker VM
This commit is contained in:
parent
3c77453787
commit
b4ffe6215b
4 changed files with 232 additions and 0 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue