forked from fabian/nix
		
	add u2f support
This commit is contained in:
		
							parent
							
								
									e15777ab93
								
							
						
					
					
						commit
						f5770f524f
					
				
					 1 changed files with 11 additions and 9 deletions
				
			
		|  | @ -18,15 +18,17 @@ | |||
|     enableSSHSupport = true; | ||||
|   }; | ||||
| 
 | ||||
|   security.pam.services = { | ||||
|     login.u2fAuth = true; | ||||
|     sudo.u2fAuth = true; | ||||
|   }; | ||||
|   security.pam = { | ||||
|     services = { | ||||
|       login.u2fAuth = true; | ||||
|       sudo.u2fAuth = true; | ||||
|     }; | ||||
| 
 | ||||
|   security.pam.yubico = { | ||||
|     enable = true; | ||||
|     debug = false; | ||||
|     mode = "challenge-response"; | ||||
|     id = ["27677315"]; | ||||
|     u2f = { | ||||
|       enable = true; | ||||
|       debug = false; | ||||
|       cue = true; | ||||
|       control = "sufficient"; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue