home: add ssh config
This commit is contained in:
		
							parent
							
								
									f6530e55ea
								
							
						
					
					
						commit
						b8081cf4c6
					
				
					 2 changed files with 20 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -10,6 +10,7 @@
 | 
			
		|||
    ./hyprland.nix
 | 
			
		||||
    ./alacritty.nix
 | 
			
		||||
    ./git.nix
 | 
			
		||||
    ./ssh.nix
 | 
			
		||||
    ./qutebrowser
 | 
			
		||||
    ./gpg.nix
 | 
			
		||||
    ./rofi.nix
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										19
									
								
								user/ssh.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								user/ssh.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,19 @@
 | 
			
		|||
{ config, pkgs, lib, ... }:
 | 
			
		||||
let inherit (pkgs.uservars) username mail;
 | 
			
		||||
in {
 | 
			
		||||
  config = {
 | 
			
		||||
    programs.ssh.enable = true;
 | 
			
		||||
    programs.ssh.matchBlocks = {
 | 
			
		||||
      monolith = {
 | 
			
		||||
        user = "lelgenio";
 | 
			
		||||
        hostname = "lelgenio.1337.cx";
 | 
			
		||||
        port = 9022;
 | 
			
		||||
      };
 | 
			
		||||
      ghost = {
 | 
			
		||||
        user = "root";
 | 
			
		||||
        hostname = "lelgenio.xyz";
 | 
			
		||||
        port = 9022;
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue