desktop: Don't make SSH_AUTH_SOCK depend on cfg.wayland
This commit is contained in:
parent
a4426075ff
commit
a95ddcdb32
1 changed files with 17 additions and 12 deletions
|
@ -75,7 +75,12 @@ in
|
|||
};
|
||||
|
||||
environment = {
|
||||
sessionVariables = mkIf cfg.wayland {
|
||||
sessionVariables = mkMerge [
|
||||
{
|
||||
SSH_AUTH_SOCK = ''''${XDG_RUNTIME_DIR}/keyring/ssh'';
|
||||
}
|
||||
(mkIf cfg.wayland
|
||||
{
|
||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||
MOZ_ENABLE_WAYLAND = "1";
|
||||
MOZ_DBUS_REMOTE = "1";
|
||||
|
@ -83,10 +88,10 @@ in
|
|||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||
QT_QPA_PLATFORMTHEME = "qt5ct";
|
||||
SDL_VIDEODRIVER = "wayland";
|
||||
SSH_AUTH_SOCK = ''''${XDG_RUNTIME_DIR}/keyring/ssh'';
|
||||
AMD_VULKAN_ICD = "RADV";
|
||||
NIXOS_OZONE_WL = "1";
|
||||
};
|
||||
})
|
||||
];
|
||||
|
||||
etc = {
|
||||
"X11/xkb".source = "${pkgs.xkeyboard_config}/etc/X11/xkb";
|
||||
|
|
Loading…
Reference in a new issue