Add element config
This commit is contained in:
		
							parent
							
								
									392f0bb814
								
							
						
					
					
						commit
						f051d864a7
					
				
					 2 changed files with 20 additions and 1 deletions
				
			
		
							
								
								
									
										19
									
								
								modules/user/modules/element.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								modules/user/modules/element.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,19 @@
 | 
			
		|||
{ pkgs, ... }: {
 | 
			
		||||
  home.packages = [ pkgs.element-desktop ];
 | 
			
		||||
 | 
			
		||||
  xdg.configFile = {
 | 
			
		||||
    "Element/config.json".text = builtins.toJSON {
 | 
			
		||||
      default_server_config = {
 | 
			
		||||
        "m.homeserver" = {
 | 
			
		||||
          base_url = "https://matrix.outfoxxed.me";
 | 
			
		||||
          server_name = "outfoxxed.me";
 | 
			
		||||
        };
 | 
			
		||||
 | 
			
		||||
        "m.identity_server" = null;
 | 
			
		||||
      };
 | 
			
		||||
 | 
			
		||||
      show_labs_settings = true;
 | 
			
		||||
      default_theme = "dark";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue