Update FredOS-Gaming.nix

This commit is contained in:
ediblerope 2026-01-29 10:30:04 +00:00 committed by GitHub
parent dc6042f741
commit 48152a3919
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,17 +36,15 @@
}; };
# Create symlinks in EVERY possible location # Create symlinks in EVERY possible location
systemd.tmpfiles.rules = [ #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" # "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 -" # "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" # "L+ /usr/lib/x86_64-linux-gnu/liblsfg-vk.so - - - - ${pkgs.lsfg-vk}/lib/liblsfg-vk.so"
]; #];
systemd.user.tmpfiles.rules = [ #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" # "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 = { programs.steam = {
enable = true; enable = true;
@ -54,15 +52,8 @@
package = pkgs.steam.override { package = pkgs.steam.override {
extraPkgs = pkgs: with pkgs; [ extraPkgs = pkgs: with pkgs; [
adwaita-icon-theme adwaita-icon-theme
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
'';
}; };
extraCompatPackages = [ pkgs.lsfg-vk ];
}; };
# Bootloader # Bootloader