EDITOR set in a better spot
The env vars service only runs on login
This commit is contained in:
		
							parent
							
								
									229c0fb71b
								
							
						
					
					
						commit
						92f73f3dfe
					
				| 
						 | 
					@ -37,6 +37,8 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	(services (list
 | 
						(services (list
 | 
				
			||||||
			(service home-zsh-service-type (home-zsh-configuration
 | 
								(service home-zsh-service-type (home-zsh-configuration
 | 
				
			||||||
 | 
									(environment-variables
 | 
				
			||||||
 | 
										`(("EDITOR" . ,(file-append vim "/bin/vim"))))
 | 
				
			||||||
			  (zshrc (list
 | 
								  (zshrc (list
 | 
				
			||||||
					(mixed-text-file "basic-config"
 | 
										(mixed-text-file "basic-config"
 | 
				
			||||||
													 "autoload -Uz compinit promptinit; compinit; promptinit\n"
 | 
																		 "autoload -Uz compinit promptinit; compinit; promptinit\n"
 | 
				
			||||||
| 
						 | 
					@ -52,8 +54,6 @@
 | 
				
			||||||
					))))
 | 
										))))
 | 
				
			||||||
			(service home-syncthing-service-type
 | 
								(service home-syncthing-service-type
 | 
				
			||||||
				(for-home (syncthing-configuration (user "nora"))))
 | 
									(for-home (syncthing-configuration (user "nora"))))
 | 
				
			||||||
			(simple-service 'editor home-environment-variables-service-type
 | 
					 | 
				
			||||||
				`(("EDITOR" . ,(file-append vim "/bin/vim"))))
 | 
					 | 
				
			||||||
			(simple-service 'dotfiles home-files-service-type
 | 
								(simple-service 'dotfiles home-files-service-type
 | 
				
			||||||
				(list
 | 
									(list
 | 
				
			||||||
					`(".gitconfig" ,(local-file "./data/gitconfig"))
 | 
										`(".gitconfig" ,(local-file "./data/gitconfig"))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue