Add nix home-manager
This commit is contained in:
		
							parent
							
								
									2353b4cfac
								
							
						
					
					
						commit
						14e3fbb489
					
				
					 9 changed files with 100 additions and 14 deletions
				
			
		|  | @ -22,8 +22,6 @@ export BEMENU_OPTS="--tb '#6272a4'\ | |||
|  --scf '#ff79c6'\ | ||||
|  --list 25 --ignorecase -p ''" | ||||
| 
 | ||||
| export CM_LAUNCHER='rofi' | ||||
| 
 | ||||
| export DOCKER_BUILDKIT=1 | ||||
| export DRONE_SERVER='https://ci.serguzim.me' | ||||
| 
 | ||||
|  | @ -37,7 +35,7 @@ export HOSTNAME="$_hostname" | |||
| 
 | ||||
| export KUBECONFIG="$HOME/.kube/config" | ||||
| 
 | ||||
| export LOCALE_ARCHIVE="/usr/lib/locale/locale-archive" | ||||
| #export LOCALE_ARCHIVE="/usr/lib/locale/locale-archive" | ||||
| 
 | ||||
| export MAILCAPS="$XDG_CONFIG_HOME/mailcap/mailcaprc" | ||||
| _makeflags=$(grep -c ^processor /proc/cpuinfo) | ||||
|  | @ -82,13 +80,9 @@ export ZSH="$ZDOTDIR/oh-my-zsh" | |||
| [ -x "$(command -v moar)" ] && export MANPAGER="moar" | ||||
| [ -x "$(command -v moar)" ] && export PAGER="moar" | ||||
| 
 | ||||
| if [ -x "$(command -v home-manager)" ] && [ -x "$(command -v nix)" ] | ||||
| then | ||||
| 	[ -f "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh" ] \ | ||||
| 		&& . "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh" | ||||
| 
 | ||||
| 	[ -d "$HOME/.nix-profile/share" ] \ | ||||
| 		&& export XDG_DATA_DIRS="$HOME/.nix-profile/share:$XDG_DATA_DIRS" | ||||
| fi | ||||
| [ -x "$(command -v home-manager)" ] \ | ||||
| 	&& [ -x "$(command -v nix)" ] \ | ||||
| 	&& [ -f "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh" ] \ | ||||
| 	&& . "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh" | ||||
| 
 | ||||
| [ -f "$HOME/.config/environment.local" ] && . "$HOME/.config/environment.local" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue