ark/users/modules/wayland/default.nix
2022-11-04 00:59:34 +03:00

20 lines
366 B
Nix

{pkgs, ...}: {
home.packages = with pkgs; [
wl-clipboard
];
home.sessionVariables = {
NIXOS_OZONE_WL = "1";
MOZ_ENABLE_WAYLAND = "1";
XDG_SESSION_TYPE = "wayland";
};
xdg.configFile = {
"environment.d/10-apply-wayland-env.conf".text = ''
NIXOS_OZONE_WL=1
MOZ_ENABLE_WAYLAND=1
XDG_SESSION_TYPE=wayland
'';
};
}