Update FredOS-Gaming.nix
This commit is contained in:
parent
bcb777b0b5
commit
849f84d885
1 changed files with 11 additions and 1 deletions
|
|
@ -19,12 +19,22 @@
|
||||||
|
|
||||||
# Enable AMD GPU overdrive for overclocking/undervolting
|
# Enable AMD GPU overdrive for overclocking/undervolting
|
||||||
boot.kernelParams = [ "amdgpu.ppfeaturemask=0xffffffff" ];
|
boot.kernelParams = [ "amdgpu.ppfeaturemask=0xffffffff" ];
|
||||||
|
|
||||||
# Set VK player path
|
# Set VK player path
|
||||||
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";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# XDG Desktop Portal for Vesktop screensharing
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
extraPortals = with pkgs; [
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
xdg-desktop-portal-gnome
|
||||||
|
];
|
||||||
|
config.common.default = "*";
|
||||||
|
};
|
||||||
|
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
remotePlay.openFirewall = true;
|
remotePlay.openFirewall = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue