Fix env vars for DM change
This commit is contained in:
		
							parent
							
								
									94613c579e
								
							
						
					
					
						commit
						d0bbf94623
					
				| 
						 | 
					@ -13,10 +13,15 @@ in with lib; {
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  config = mkIf cfg.enable {
 | 
					  config = mkIf cfg.enable {
 | 
				
			||||||
    home-manager.users.james = {
 | 
					    environment.sessionVariables = {
 | 
				
			||||||
      # Enable touch controls.
 | 
					      MOZ_USE_XINPUT2 = "1";
 | 
				
			||||||
      home.sessionVariables = { MOZ_USE_XINPUT2 = 1; };
 | 
					    } // (if graphical.protocol == "Wayland" then {
 | 
				
			||||||
 | 
					      MOZ_ENABLE_WAYLAND = "1";
 | 
				
			||||||
 | 
					    } else
 | 
				
			||||||
 | 
					      { })
 | 
				
			||||||
 | 
					      // (if sway_cfg.enable then { XDG_CURRENT_DESKTOP = "sway"; } else { });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    home-manager.users.james = {
 | 
				
			||||||
      programs.firefox = {
 | 
					      programs.firefox = {
 | 
				
			||||||
        enable = true;
 | 
					        enable = true;
 | 
				
			||||||
        package = pkgs.firefox.override {
 | 
					        package = pkgs.firefox.override {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in New Issue
	
	Block a user