
Most programs already run natively under Wayland so extraSessionCommands isn't as important anymore. XWayland is already covered by "programs.xwayland.enable = mkDefault true;" in the module.
*** NixOS *** NixOS is a Linux distribution based on the purely functional package management system Nix. More information can be found at https://nixos.org/nixos and in the manual in doc/manual.