update locks, use one password for signing, move deprecated options
This commit is contained in:
		
							parent
							
								
									5c80e6ba80
								
							
						
					
					
						commit
						d7b0c7cdee
					
				
					 9 changed files with 62 additions and 55 deletions
				
			
		|  | @ -16,7 +16,9 @@ in | |||
|     enable = mkBoolOpt true "Wether or not to enable git (Default enabled)"; | ||||
|     userName = mkOpt types.str user.fullName "The name to use git with"; | ||||
|     userEmail = mkOpt types.str user.email "The email to use git with"; | ||||
|     signingKey = mkOpt types.str "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN4iH29edivUi+k94apb6pasWq8qphfhYo0d6B2GhISf" "The key ID to sign commits with."; | ||||
|     signingKey = | ||||
|       mkOpt types.str "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN4iH29edivUi+k94apb6pasWq8qphfhYo0d6B2GhISf" | ||||
|         "The key ID to sign commits with."; | ||||
|   }; | ||||
| 
 | ||||
|   config = mkIf cfg.enable { | ||||
|  | @ -47,7 +49,7 @@ in | |||
|           safe = { | ||||
|             directory = "${config.users.users.${user.name}.home}/projects/config"; | ||||
|           }; | ||||
|           gpg ={ | ||||
|           gpg = { | ||||
|             format = "ssh"; | ||||
|             "ssh".program = "${pkgs._1password-gui}/bin/op-ssh-sign"; | ||||
|           }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue