nixos: presets: remove wayland.nix
This commit is contained in:
parent
5b666b91d1
commit
d18469f1fa
4 changed files with 2 additions and 8 deletions
|
@ -5,7 +5,6 @@
|
||||||
../../profiles/device-type/laptop
|
../../profiles/device-type/laptop
|
||||||
../../profiles/opt-in/zram-generator.nix
|
../../profiles/opt-in/zram-generator.nix
|
||||||
../../profiles/opt-in/gaming.nix
|
../../profiles/opt-in/gaming.nix
|
||||||
../../profiles/opt-in/wayland.nix
|
|
||||||
../../profiles/opt-in/virt-manager.nix
|
../../profiles/opt-in/virt-manager.nix
|
||||||
|
|
||||||
# User
|
# User
|
||||||
|
|
|
@ -61,6 +61,7 @@
|
||||||
"[ 5.996722] amdgpu 0000:67:00.0: Fatal error during GPU init"}
|
"[ 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,
|
### WORKAROUND: Revert to NVIDIA version 470.223.02 due to performance issues in version 545.29.06,
|
||||||
# this shouldn't affect non-nvidia machines.
|
# this shouldn't affect non-nvidia machines.
|
||||||
nixpkgs.config.nvidia.acceptLicense = true;
|
nixpkgs.config.nvidia.acceptLicense = true;
|
||||||
|
|
|
@ -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
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
GTK_IM_MODULE = lib.mkForce "wayland"; # use text-input-v3
|
GTK_IM_MODULE = lib.mkForce "wayland"; # use text-input-v3
|
||||||
|
NIXOS_OZONE_WL = "1"; # let electron applications use wayland
|
||||||
};
|
};
|
||||||
|
|
||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
|
|
Loading…
Reference in a new issue