[ssh] Move to actual module
This commit is contained in:
		
							parent
							
								
									197fcdbb81
								
							
						
					
					
						commit
						37b3968722
					
				
					 10 changed files with 100 additions and 78 deletions
				
			
		|  | @ -1,6 +1,7 @@ | |||
| { | ||||
|   imports = [ | ||||
|     ./home-manager | ||||
|     ./ssh | ||||
|     ./zellij | ||||
|   ]; | ||||
| } | ||||
|  |  | |||
							
								
								
									
										13
									
								
								nixos/modules/programs/ssh/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								nixos/modules/programs/ssh/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,13 @@ | |||
| { config, lib, pkgs, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.sisyphus.programs.ssh; | ||||
| in { | ||||
|   options.sisyphus.programs.ssh.enable = lib.mkEnableOption "SSH"; | ||||
| 
 | ||||
|   config = lib.mkIf cfg.enable { | ||||
|     programs.ssh = { | ||||
|       enableAskPassword = false; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue