ark/users/modules/wayland/default.nix
2022-11-18 00:06:43 +03:00

22 lines
405 B
Nix

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