mirror of
https://github.com/danbulant/dotfiles
synced 2026-07-05 19:21:10 +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
|
in
|
||||||
{
|
{
|
||||||
deployment = {
|
deployment = {
|
||||||
buildOnTarget = true;
|
# buildOnTarget = true;
|
||||||
targetHost = "192.168.1.114";
|
targetHost = "192.168.1.114";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -208,9 +208,12 @@ in
|
||||||
{
|
{
|
||||||
targets = [ "localhost:${toString ports.status}" ];
|
targets = [ "localhost:${toString ports.status}" ];
|
||||||
# generated, only accessible through tailscale, not really sensitive
|
# generated, only accessible through tailscale, not really sensitive
|
||||||
authorization = "uk1_SAAatRz9luyFXItVnbXyOdVuU2fkMhZITrnPY27z";
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
basic_auth = {
|
||||||
|
username = "";
|
||||||
|
password = "uk1_SAAatRz9luyFXItVnbXyOdVuU2fkMhZITrnPY27z";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
@ -432,7 +435,24 @@ in
|
||||||
"dan"
|
"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; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
jellyfin-ffmpeg
|
||||||
|
intel-gpu-tools
|
||||||
lsof
|
lsof
|
||||||
rsync
|
rsync
|
||||||
git
|
git
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@ in
|
||||||
stateVersion = "25.11";
|
stateVersion = "25.11";
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
jellyfin-desktop
|
||||||
(kdePackages.qt6ct.overrideAttrs (oldAttrs: {
|
(kdePackages.qt6ct.overrideAttrs (oldAttrs: {
|
||||||
patches = (oldAttrs.patches or [ ]) ++ [ ../../pkgs/qt6ct-0.11.patch ];
|
patches = (oldAttrs.patches or [ ]) ++ [ ../../pkgs/qt6ct-0.11.patch ];
|
||||||
name = "qt6ct-kde";
|
name = "qt6ct-kde";
|
||||||
|
|
@ -471,27 +472,29 @@ in
|
||||||
services.blueman-applet.enable = true;
|
services.blueman-applet.enable = true;
|
||||||
services.mpris-proxy.enable = true;
|
services.mpris-proxy.enable = true;
|
||||||
xdg = {
|
xdg = {
|
||||||
/*configFile."openxr/1/active_runtime.json".source =
|
/*
|
||||||
"${pkgs.monado}/share/openxr/1/openxr_monado.json";
|
configFile."openxr/1/active_runtime.json".source =
|
||||||
configFile."openvr/openvrpaths.vrpath".text = ''
|
"${pkgs.monado}/share/openxr/1/openxr_monado.json";
|
||||||
{
|
configFile."openvr/openvrpaths.vrpath".text = ''
|
||||||
"config" :
|
{
|
||||||
[
|
"config" :
|
||||||
"${config.xdg.dataHome}/Steam/config"
|
[
|
||||||
],
|
"${config.xdg.dataHome}/Steam/config"
|
||||||
"external_drivers" : null,
|
],
|
||||||
"jsonid" : "vrpathreg",
|
"external_drivers" : null,
|
||||||
"log" :
|
"jsonid" : "vrpathreg",
|
||||||
[
|
"log" :
|
||||||
"${config.xdg.dataHome}/Steam/logs"
|
[
|
||||||
],
|
"${config.xdg.dataHome}/Steam/logs"
|
||||||
"runtime" :
|
],
|
||||||
[
|
"runtime" :
|
||||||
"${pkgs.opencomposite}/lib/opencomposite"
|
[
|
||||||
],
|
"${pkgs.opencomposite}/lib/opencomposite"
|
||||||
"version" : 1
|
],
|
||||||
}
|
"version" : 1
|
||||||
'';*/
|
}
|
||||||
|
'';
|
||||||
|
*/
|
||||||
mimeApps = {
|
mimeApps = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue