ark/users/modules/wayland/default.nix

20 lines
366 B
Nix
Raw Normal View History

2022-08-11 05:44:58 +03:00
{pkgs, ...}: {
home.packages = with pkgs; [
wl-clipboard
];
home.sessionVariables = {
NIXOS_OZONE_WL = "1";
MOZ_ENABLE_WAYLAND = "1";
2022-09-12 02:24:41 +03:00
XDG_SESSION_TYPE = "wayland";
2022-08-11 05:44:58 +03:00
};
2022-11-04 00:59:34 +03:00
xdg.configFile = {
"environment.d/10-apply-wayland-env.conf".text = ''
NIXOS_OZONE_WL=1
MOZ_ENABLE_WAYLAND=1
XDG_SESSION_TYPE=wayland
'';
};
2022-08-11 05:44:58 +03:00
}