Update FredOS-Gaming.nix

This commit is contained in:
ediblerope 2026-01-29 10:47:13 +00:00 committed by GitHub
parent 5191a5029f
commit 1d224ed04b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,17 +36,17 @@
};
# Create symlinks in EVERY possible location
systemd.tmpfiles.rules = [
"L+ /usr/share/vulkan/implicit_layer.d/VkLayer_LS_frame_generation.json - - - - ${pkgs.lsfg-vk}/share/vulkan/implicit_layer.d/VkLayer_LS_frame_generation.json"
"d /usr/lib/x86_64-linux-gnu 0755 root root -"
"L+ /usr/lib/x86_64-linux-gnu/liblsfg-vk.so - - - - ${pkgs.lsfg-vk}/lib/liblsfg-vk.so"
];
#systemd.tmpfiles.rules = [
#"L+ /usr/share/vulkan/implicit_layer.d/VkLayer_LS_frame_generation.json - - - - ${pkgs.lsfg-vk}/share/vulkan/implicit_layer.d/VkLayer_LS_frame_generation.json"
#"d /usr/lib/x86_64-linux-gnu 0755 root root -"
#"L+ /usr/lib/x86_64-linux-gnu/liblsfg-vk.so - - - - ${pkgs.lsfg-vk}/lib/liblsfg-vk.so"
#];
systemd.user.tmpfiles.rules = [
"L+ %h/.local/share/vulkan/implicit_layer.d/VkLayer_LS_frame_generation.json - - - - ${pkgs.lsfg-vk}/share/vulkan/implicit_layer.d/VkLayer_LS_frame_generation.json"
"d %h/.var/app/com.hypixel.HytaleLauncher/data/vulkan/implicit_layer.d 0755 - - -"
"L+ %h/.var/app/com.hypixel.HytaleLauncher/data/vulkan/implicit_layer.d/VkLayer_LS_frame_generation.json - - - - ${pkgs.lsfg-vk}/share/vulkan/implicit_layer.d/VkLayer_LS_frame_generation.json"
];
#systemd.user.tmpfiles.rules = [
#"L+ %h/.local/share/vulkan/implicit_layer.d/VkLayer_LS_frame_generation.json - - - - ${pkgs.lsfg-vk}/share/vulkan/implicit_layer.d/VkLayer_LS_frame_generation.json"
#"d %h/.var/app/com.hypixel.HytaleLauncher/data/vulkan/implicit_layer.d 0755 - - -"
#"L+ %h/.var/app/com.hypixel.HytaleLauncher/data/vulkan/implicit_layer.d/VkLayer_LS_frame_generation.json - - - - ${pkgs.lsfg-vk}/share/vulkan/implicit_layer.d/VkLayer_LS_frame_generation.json"
#];
programs.steam = {
enable = true;
@ -54,13 +54,13 @@
package = pkgs.steam.override {
extraPkgs = pkgs: with pkgs; [
adwaita-icon-theme
lsfg-vk
#lsfg-vk
];
extraLibraries = pkgs: [ pkgs.lsfg-vk ];
extraProfile = ''
export VK_ADD_LAYER_PATH=${pkgs.lsfg-vk}/share/vulkan/implicit_layer.d:$VK_ADD_LAYER_PATH
export LD_LIBRARY_PATH=${pkgs.lsfg-vk}/lib:$LD_LIBRARY_PATH
'';
#extraLibraries = pkgs: [ pkgs.lsfg-vk ];
#extraProfile = ''
#export VK_ADD_LAYER_PATH=${pkgs.lsfg-vk}/share/vulkan/implicit_layer.d:$VK_ADD_LAYER_PATH
#export LD_LIBRARY_PATH=${pkgs.lsfg-vk}/lib:$LD_LIBRARY_PATH
#'';
};
};