Minor config improvements (hm-pkgs and sourcing)
This commit is contained in:
		
							parent
							
								
									14e3fbb489
								
							
						
					
					
						commit
						bbf5ffe4dc
					
				
					 6 changed files with 9 additions and 20 deletions
				
			
		|  | @ -48,8 +48,8 @@ start_audio_pipewire () { | ||||||
|     pw-link 'default-sink:monitor_FL' 'alsa_output.pci-0000_00_1f.3.analog-stereo:playback_FL' |     pw-link 'default-sink:monitor_FL' 'alsa_output.pci-0000_00_1f.3.analog-stereo:playback_FL' | ||||||
|     pw-link 'default-sink:monitor_FR' 'alsa_output.pci-0000_00_1f.3.analog-stereo:playback_FR' |     pw-link 'default-sink:monitor_FR' 'alsa_output.pci-0000_00_1f.3.analog-stereo:playback_FR' | ||||||
| 
 | 
 | ||||||
| 	pw-link 'output.UMC_Amp:capture_MONO' 'default-sink:playback_FL' | 	#pw-link 'output.UMC_Amp:capture_MONO' 'default-sink:playback_FL' | ||||||
| 	pw-link 'output.UMC_Amp:capture_MONO' 'default-sink:playback_FR' | 	#pw-link 'output.UMC_Amp:capture_MONO' 'default-sink:playback_FR' | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -50,6 +50,7 @@ alias mv='mv -iv' | ||||||
| alias nixos-rebuild-tinker='sudo nixos-rebuild switch -p tinkering --no-build-nix' | alias nixos-rebuild-tinker='sudo nixos-rebuild switch -p tinkering --no-build-nix' | ||||||
| 
 | 
 | ||||||
| alias pacman-autoremove='sudo pacman -Rns $(pacman -Qtdq)' | alias pacman-autoremove='sudo pacman -Rns $(pacman -Qtdq)' | ||||||
|  | alias pacman-autoremove-opts='sudo pacman -Rns $(pacman -Qttdq)' | ||||||
| alias ps-grep='ps aux | grep -v grep | grep' | alias ps-grep='ps aux | grep -v grep | grep' | ||||||
| 
 | 
 | ||||||
| alias qutebrowser-kiosk='qutebrowser -B $XDG_DATA_HOME/qutebrowser-kiosk -C $XDG_CONFIG_HOME/qutebrowser/config-kiosk.py' | alias qutebrowser-kiosk='qutebrowser -B $XDG_DATA_HOME/qutebrowser-kiosk -C $XDG_CONFIG_HOME/qutebrowser/config-kiosk.py' | ||||||
|  |  | ||||||
|  | @ -1,6 +1,7 @@ | ||||||
| #!/bin/sh | #!/bin/sh | ||||||
| 
 | 
 | ||||||
| set -a | set -a | ||||||
|  | . "/etc/profile" | ||||||
| . "$HOME/.config/user-dirs.dirs" | . "$HOME/.config/user-dirs.dirs" | ||||||
| . "$XDG_CONFIG_HOME/locale.conf" | . "$XDG_CONFIG_HOME/locale.conf" | ||||||
| set +a | set +a | ||||||
|  |  | ||||||
|  | @ -5,6 +5,7 @@ | ||||||
|   home.packages = with pkgs; [ |   home.packages = with pkgs; [ | ||||||
|     #alacritty # terminal emulator |     #alacritty # terminal emulator | ||||||
|     bc # calculator (bsp-layout dependency) |     bc # calculator (bsp-layout dependency) | ||||||
|  |     bemenu # tool to display menus | ||||||
|     bsp-layout # automatic layouts for bpswm |     bsp-layout # automatic layouts for bpswm | ||||||
|     ckb-next # corsair hardware control |     ckb-next # corsair hardware control | ||||||
|     conky # shows stuff on the wallpaper |     conky # shows stuff on the wallpaper | ||||||
|  | @ -12,26 +13,14 @@ | ||||||
|     feh # image viewer and wallpaper-tool |     feh # image viewer and wallpaper-tool | ||||||
|     flameshot # screenshot tool |     flameshot # screenshot tool | ||||||
|     helvum # Pipewire GUI |     helvum # Pipewire GUI | ||||||
|  |     j4-dmenu-desktop # collects .desktop files for a menu | ||||||
|     parcellite # clipboard-manager |     parcellite # clipboard-manager | ||||||
|     pavucontrol # Pulseaudio GUI |     pavucontrol # Pulseaudio GUI | ||||||
|  |     polybar # desktop bar | ||||||
|     solaar # Logitech tool |     solaar # Logitech tool | ||||||
|  |     sxhkd # hotkey daemon | ||||||
|     #vagrant # tool for automated virtual machines |     #vagrant # tool for automated virtual machines | ||||||
|     #virtualbox # tool for virtual machines |     #virtualbox # tool for virtual machines | ||||||
|     xclip # clipboard CLI for X |     xclip # clipboard CLI for X | ||||||
|   ]; |   ]; | ||||||
| 
 |  | ||||||
|   # This value determines the Home Manager release that your |  | ||||||
|   # configuration is compatible with. This helps avoid breakage |  | ||||||
|   # when a new Home Manager release introduces backwards |  | ||||||
|   # incompatible changes. |  | ||||||
|   # |  | ||||||
|   # You can update Home Manager without changing this value. See |  | ||||||
|   # the Home Manager release notes for a list of state version |  | ||||||
|   # changes in each release. |  | ||||||
|   home.stateVersion = "22.11"; |  | ||||||
| 
 |  | ||||||
|   # Let Home Manager install and manage itself. |  | ||||||
|   programs.home-manager.enable = true; |  | ||||||
| 
 |  | ||||||
|   targets.genericLinux.enable = true; |  | ||||||
| } | } | ||||||
|  |  | ||||||
							
								
								
									
										1
									
								
								.profile
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								.profile
									
										
									
									
									
								
							|  | @ -1,2 +1 @@ | ||||||
| . "/etc/profile" |  | ||||||
| . "$HOME/.config/environment" | . "$HOME/.config/environment" | ||||||
|  |  | ||||||
|  | @ -1,4 +1,3 @@ | ||||||
| . /etc/profile |  | ||||||
| . "$HOME/.config/environment" | . "$HOME/.config/environment" | ||||||
| . "$HOME/.config/aliasrc" | . "$HOME/.config/aliasrc" | ||||||
| 
 | 
 | ||||||
|  | @ -9,6 +8,6 @@ then | ||||||
|     gpgconf --launch gpg-agent >/dev/null |     gpgconf --launch gpg-agent >/dev/null | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
| if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then | if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -le 3 ]; then | ||||||
|     exec $AUTOSTART_DISPLAY |     exec $AUTOSTART_DISPLAY | ||||||
| fi | fi | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue