tree-wide change. seperated config from 'real' modles.
This commit is contained in:
		
							parent
							
								
									3eee4e105d
								
							
						
					
					
						commit
						a0c1ad0beb
					
				
					 59 changed files with 377 additions and 424 deletions
				
			
		
							
								
								
									
										47
									
								
								configs/home-manager/tiny-irc.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								configs/home-manager/tiny-irc.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,47 @@
 | 
			
		|||
{
 | 
			
		||||
  config,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  lib,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  programs.tiny = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    settings = {
 | 
			
		||||
      servers = [
 | 
			
		||||
        {
 | 
			
		||||
          addr = "irc.libera.chat";
 | 
			
		||||
          port = 6697;
 | 
			
		||||
          tls = true;
 | 
			
		||||
          realname = "Gabe Venberg";
 | 
			
		||||
          nicks = ["toric"];
 | 
			
		||||
          join = [
 | 
			
		||||
            "#libera"
 | 
			
		||||
            "#linux"
 | 
			
		||||
            "#archlinux"
 | 
			
		||||
            "#nixos"
 | 
			
		||||
            "#neovim"
 | 
			
		||||
            "##programming"
 | 
			
		||||
            "##rust"
 | 
			
		||||
            "#git"
 | 
			
		||||
            "#kernel"
 | 
			
		||||
            "#hardware"
 | 
			
		||||
            "#lobsters"
 | 
			
		||||
            "#gamingonlinux"
 | 
			
		||||
            "##chat"
 | 
			
		||||
          ];
 | 
			
		||||
          sasl = {
 | 
			
		||||
            username = "toric";
 | 
			
		||||
            pem = "${config.home.homeDirectory}/keys/certs/irc.pem";
 | 
			
		||||
          };
 | 
			
		||||
        }
 | 
			
		||||
      ];
 | 
			
		||||
      defaults = {
 | 
			
		||||
        # ignore join/leave messages
 | 
			
		||||
        ignore = true;
 | 
			
		||||
        nicks = ["toric"];
 | 
			
		||||
        realname = "Gabe Venberg";
 | 
			
		||||
        tls = true;
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue