Sync Git identity across all hosts
(and also home directory location, but that's sort of standard anyway)
This commit is contained in:
		
							parent
							
								
									331d4006c2
								
							
						
					
					
						commit
						050fe2d1a7
					
				
					 2 changed files with 13 additions and 9 deletions
				
			
		|  | @ -7,8 +7,6 @@ | ||||||
|       ../../home/vscode.nix |       ../../home/vscode.nix | ||||||
|     ]; |     ]; | ||||||
| 
 | 
 | ||||||
|     home.homeDirectory = config.users.users.qenya.home; |  | ||||||
| 
 |  | ||||||
|     home.packages = with pkgs; [ |     home.packages = with pkgs; [ | ||||||
|       fortune |       fortune | ||||||
|       htop |       htop | ||||||
|  | @ -21,12 +19,6 @@ | ||||||
|     programs.chromium.enable = true; |     programs.chromium.enable = true; | ||||||
|     programs.firefox.enable = true; |     programs.firefox.enable = true; | ||||||
| 
 | 
 | ||||||
|     programs.git = { |  | ||||||
|       enable = true; |  | ||||||
|       userName = "Katherina Walshe-Grey"; |  | ||||||
|       userEmail = "git@katherina.rocks"; |  | ||||||
|     }; |  | ||||||
| 
 |  | ||||||
|     home.stateVersion = "23.11"; |     home.stateVersion = "23.11"; | ||||||
|   }; |   }; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -13,4 +13,16 @@ | ||||||
|       "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJEmkV9arotms79lJPsLHkdzAac4eu3pYS08ym0sB/on qenya@tohru" |       "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJEmkV9arotms79lJPsLHkdzAac4eu3pYS08ym0sB/on qenya@tohru" | ||||||
|     ]; |     ]; | ||||||
|   }; |   }; | ||||||
|  | 
 | ||||||
|  |   home-manager.users.qenya = { config, lib, pkgs, osConfig, ... }: { | ||||||
|  |     home.homeDirectory = osConfig.users.users.qenya.home; | ||||||
|  | 
 | ||||||
|  |     programs.git = { | ||||||
|  |       enable = true; | ||||||
|  |       userName = "Katherina Walshe-Grey"; | ||||||
|  |       userEmail = "git@katherina.rocks"; # TODO: update email | ||||||
|  |     }; | ||||||
|  | 
 | ||||||
|  |     home.stateVersion = "23.11"; | ||||||
|  |   }; | ||||||
| } | } | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue