mirror of
https://github.com/danbulant/dotfiles
synced 2026-05-19 04:18:55 +00:00
attempt to setup intel acceleration properly
This commit is contained in:
parent
f3ef355cd3
commit
b0f312c6c5
2 changed files with 46 additions and 23 deletions
|
|
@ -35,7 +35,7 @@ let
|
|||
in
|
||||
{
|
||||
deployment = {
|
||||
buildOnTarget = true;
|
||||
# buildOnTarget = true;
|
||||
targetHost = "192.168.1.114";
|
||||
};
|
||||
|
||||
|
|
@ -208,9 +208,12 @@ in
|
|||
{
|
||||
targets = [ "localhost:${toString ports.status}" ];
|
||||
# generated, only accessible through tailscale, not really sensitive
|
||||
authorization = "uk1_SAAatRz9luyFXItVnbXyOdVuU2fkMhZITrnPY27z";
|
||||
}
|
||||
];
|
||||
basic_auth = {
|
||||
username = "";
|
||||
password = "uk1_SAAatRz9luyFXItVnbXyOdVuU2fkMhZITrnPY27z";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
@ -432,7 +435,24 @@ in
|
|||
"dan"
|
||||
];
|
||||
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
intel-media-driver
|
||||
intel-vaapi-driver
|
||||
intel-ocl
|
||||
libva-vdpau-driver
|
||||
intel-compute-runtime-legacy1
|
||||
];
|
||||
};
|
||||
|
||||
environment.sessionVariables = {
|
||||
LIBVA_DRIVER_NAME = "i965";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
jellyfin-ffmpeg
|
||||
intel-gpu-tools
|
||||
lsof
|
||||
rsync
|
||||
git
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ in
|
|||
stateVersion = "25.11";
|
||||
|
||||
packages = with pkgs; [
|
||||
jellyfin-desktop
|
||||
(kdePackages.qt6ct.overrideAttrs (oldAttrs: {
|
||||
patches = (oldAttrs.patches or [ ]) ++ [ ../../pkgs/qt6ct-0.11.patch ];
|
||||
name = "qt6ct-kde";
|
||||
|
|
@ -471,27 +472,29 @@ in
|
|||
services.blueman-applet.enable = true;
|
||||
services.mpris-proxy.enable = true;
|
||||
xdg = {
|
||||
/*configFile."openxr/1/active_runtime.json".source =
|
||||
"${pkgs.monado}/share/openxr/1/openxr_monado.json";
|
||||
configFile."openvr/openvrpaths.vrpath".text = ''
|
||||
{
|
||||
"config" :
|
||||
[
|
||||
"${config.xdg.dataHome}/Steam/config"
|
||||
],
|
||||
"external_drivers" : null,
|
||||
"jsonid" : "vrpathreg",
|
||||
"log" :
|
||||
[
|
||||
"${config.xdg.dataHome}/Steam/logs"
|
||||
],
|
||||
"runtime" :
|
||||
[
|
||||
"${pkgs.opencomposite}/lib/opencomposite"
|
||||
],
|
||||
"version" : 1
|
||||
}
|
||||
'';*/
|
||||
/*
|
||||
configFile."openxr/1/active_runtime.json".source =
|
||||
"${pkgs.monado}/share/openxr/1/openxr_monado.json";
|
||||
configFile."openvr/openvrpaths.vrpath".text = ''
|
||||
{
|
||||
"config" :
|
||||
[
|
||||
"${config.xdg.dataHome}/Steam/config"
|
||||
],
|
||||
"external_drivers" : null,
|
||||
"jsonid" : "vrpathreg",
|
||||
"log" :
|
||||
[
|
||||
"${config.xdg.dataHome}/Steam/logs"
|
||||
],
|
||||
"runtime" :
|
||||
[
|
||||
"${pkgs.opencomposite}/lib/opencomposite"
|
||||
],
|
||||
"version" : 1
|
||||
}
|
||||
'';
|
||||
*/
|
||||
mimeApps = {
|
||||
enable = true;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue