Update FredOS-Gaming.nix

This commit is contained in:
ediblerope 2026-01-29 11:03:12 +00:00 committed by GitHub
parent 813057fac5
commit 6c516fedd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,24 +29,24 @@
boot.kernelParams = [ "amdgpu.ppfeaturemask=0xffffffff" "acpi_osi=\"!Windows 2015\"" ]; boot.kernelParams = [ "amdgpu.ppfeaturemask=0xffffffff" "acpi_osi=\"!Windows 2015\"" ];
# Session variables # Session variables
environment.sessionVariables = { #environment.sessionVariables = {
VK_ADD_LAYER_PATH = "${pkgs.lsfg-vk}/share/vulkan/implicit_layer.d"; #VK_ADD_LAYER_PATH = "${pkgs.lsfg-vk}/share/vulkan/implicit_layer.d";
# Force the layer to be visible everywhere # Force the layer to be visible everywhere
VK_INSTANCE_LAYERS = "VK_LAYER_LS_frame_generation"; #VK_INSTANCE_LAYERS = "VK_LAYER_LS_frame_generation";
}; #};
# 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 - - -" #"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" #"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;
@ -56,11 +56,11 @@
adwaita-icon-theme adwaita-icon-theme
lsfg-vk lsfg-vk
]; ];
extraLibraries = pkgs: [ pkgs.lsfg-vk ]; #extraLibraries = pkgs: [ pkgs.lsfg-vk ];
extraProfile = '' #extraProfile = ''
export VK_ADD_LAYER_PATH=${pkgs.lsfg-vk}/share/vulkan/implicit_layer.d:$VK_ADD_LAYER_PATH #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 #export LD_LIBRARY_PATH=${pkgs.lsfg-vk}/lib:$LD_LIBRARY_PATH
''; #'';
}; };
}; };