nixos: presets: remove wayland.nix

This commit is contained in:
Guanran Wang 2023-12-19 02:01:26 +08:00
parent 5b666b91d1
commit d18469f1fa
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
4 changed files with 2 additions and 8 deletions

View file

@ -5,7 +5,6 @@
../../profiles/device-type/laptop
../../profiles/opt-in/zram-generator.nix
../../profiles/opt-in/gaming.nix
../../profiles/opt-in/wayland.nix
../../profiles/opt-in/virt-manager.nix
# User

View file

@ -61,6 +61,7 @@
"[ 5.996722] amdgpu 0000:67:00.0: Fatal error during GPU init"}
'';
hardware.nvidia.nvidiaSettings = false;
### WORKAROUND: Revert to NVIDIA version 470.223.02 due to performance issues in version 545.29.06,
# this shouldn't affect non-nvidia machines.
nixpkgs.config.nvidia.acceptLicense = true;

View file

@ -1,7 +0,0 @@
_: {
programs.xwayland.enable = true; # enable XWayland
hardware.nvidia.nvidiaSettings = false; # NVIDIA settings menu, wont do anything on wayland
environment.sessionVariables = {
"NIXOS_OZONE_WL" = "1"; # let electron applications use wayland
};
}

View file

@ -16,6 +16,7 @@
home.sessionVariables = {
GTK_IM_MODULE = lib.mkForce "wayland"; # use text-input-v3
NIXOS_OZONE_WL = "1"; # let electron applications use wayland
};
dconf.settings = {