stuff
This commit is contained in:
parent
782e4de14b
commit
54c205202b
@ -192,8 +192,10 @@ in
|
||||
files = [ "/etc/machine-id" ];
|
||||
};
|
||||
variables = {
|
||||
VK_ICD_FILENAMES = "/run/opengl-driver/share/vulkan/icd.d/amd_icd64.json";
|
||||
LD_LIBRARY_PATH = lib.mkForce "${lib.makeLibraryPath (config.hardware.opengl.extraPackages ++ config.hardware.opengl.extraPackages32)}";
|
||||
VK_ICD_FILENAMES = lib.mkForce "${pkgs.amdvlk}/share/vulkan/icd.d/amd_icd64.json:${pkgs.driversi686Linux.amdvlk}/share/vulkan/icd.d/amd_icd32.json";
|
||||
};
|
||||
sessionVariables = {
|
||||
VK_ICD_FILENAMES = lib.mkForce "${pkgs.amdvlk}/share/vulkan/icd.d/amd_icd64.json:${pkgs.driversi686Linux.amdvlk}/share/vulkan/icd.d/amd_icd32.json";
|
||||
};
|
||||
};
|
||||
networking.interfaces.enp6s0.useDHCP = true;
|
||||
|
@ -23,10 +23,11 @@ in
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
gtkUsePortal = true;
|
||||
wlr.enable = true;
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal
|
||||
xdg-desktop-portal-gtk
|
||||
# xdg-desktop-portal-wlr
|
||||
xdg-desktop-portal-wlr
|
||||
];
|
||||
};
|
||||
|
||||
@ -112,7 +113,7 @@ in
|
||||
in
|
||||
pkgs.writeScriptBin "chromium-wayland" ''
|
||||
#!${pkgs.stdenv.shell}
|
||||
chromium ${lib.concatStringsSep " " flags}
|
||||
VK_ICD_FILENAMES="${pkgs.amdvlk}/share/vulkan/icd.d/amd_icd64.json:${pkgs.driversi686Linux.amdvlk}/share/vulkan/icd.d/amd_icd32.json" chromium ${lib.concatStringsSep " " flags}
|
||||
'';
|
||||
vscodiumWayland =
|
||||
let
|
||||
|
Loading…
Reference in New Issue
Block a user