init starship on launch
This commit is contained in:
		
							parent
							
								
									ba768687ae
								
							
						
					
					
						commit
						fc257cfb03
					
				
					 9 changed files with 22 additions and 31 deletions
				
			
		|  | @ -8,13 +8,11 @@ | ||||||
| }: | }: | ||||||
| with lib.wyrdgard; { | with lib.wyrdgard; { | ||||||
|   wyrdgard = { |   wyrdgard = { | ||||||
|     apps.cli-apps = { |     apps = { | ||||||
|       fish = enabled; |       kitty = enabled; | ||||||
|       home-manager = enabled; |  | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     tools = { |     tools = { | ||||||
|       git = enabled; |  | ||||||
|       direnv = enabled; |       direnv = enabled; | ||||||
|     }; |     }; | ||||||
|   }; |   }; | ||||||
|  |  | ||||||
|  | @ -22,7 +22,10 @@ in { | ||||||
|     programs = { |     programs = { | ||||||
|       fish = { |       fish = { | ||||||
|         enable = true; |         enable = true; | ||||||
|         shellInit = "zoxide init fish | source"; |         shellInit = " | ||||||
|  | 	zoxide init fish | source | ||||||
|  | 	starship init fish | source | ||||||
|  | 	"; | ||||||
|         shellAliases = { |         shellAliases = { | ||||||
|           vim = "nvim"; |           vim = "nvim"; | ||||||
|           ls = "colorls --gs"; |           ls = "colorls --gs"; | ||||||
|  |  | ||||||
|  | @ -4,9 +4,7 @@ | ||||||
|   ... |   ... | ||||||
| }: | }: | ||||||
| with lib; | with lib; | ||||||
| with lib.wyrdgard; | with lib.wyrdgard; let | ||||||
| let |  | ||||||
| 
 |  | ||||||
|   cfg = config.wyrdgard.apps.cli-apps.home-manager; |   cfg = config.wyrdgard.apps.cli-apps.home-manager; | ||||||
| in { | in { | ||||||
|   options.wyrdgard.apps.cli-apps.home-manager = { |   options.wyrdgard.apps.cli-apps.home-manager = { | ||||||
|  |  | ||||||
|  | @ -10,7 +10,7 @@ with lib.wyrdgard; let | ||||||
|   cfg = config.wyrdgard.apps._1password; |   cfg = config.wyrdgard.apps._1password; | ||||||
| in { | in { | ||||||
|   options.wyrdgard.apps._1password = with types; { |   options.wyrdgard.apps._1password = with types; { | ||||||
|     enable = mkBoolOpt false "Enable 1Password"; |     enable = mkBoolOpt true "Enable 1Password"; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   config = mkIf cfg.enable { |   config = mkIf cfg.enable { | ||||||
|  |  | ||||||
|  | @ -26,8 +26,6 @@ in { | ||||||
|         relativenumber = true; |         relativenumber = true; | ||||||
|         shiftwidth = 2; |         shiftwidth = 2; | ||||||
|       }; |       }; | ||||||
|        |  | ||||||
|        |  | ||||||
|     }; |     }; | ||||||
|   }; |   }; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -14,11 +14,17 @@ in { | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   config = mkIf cfg.enable { |   config = mkIf cfg.enable { | ||||||
|     wyrdgard.submodules = { |     wyrdgard = { | ||||||
|  |       submodules = { | ||||||
|         basics = enabled; |         basics = enabled; | ||||||
|         graphical-interface = enabled; |         graphical-interface = enabled; | ||||||
|         games = enabled; |         games = enabled; | ||||||
|         socials = enabled; |         socials = enabled; | ||||||
|       }; |       }; | ||||||
|  | 
 | ||||||
|  |       apps = { | ||||||
|  |         vivaldi = enabled; | ||||||
|  |       }; | ||||||
|  |     }; | ||||||
|   }; |   }; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -9,7 +9,6 @@ with lib.wyrdgard; { | ||||||
|   imports = [./hardware.nix]; |   imports = [./hardware.nix]; | ||||||
| 
 | 
 | ||||||
|   environment.systemPackages = with pkgs; [ |   environment.systemPackages = with pkgs; [ | ||||||
|     filelight |  | ||||||
|   ]; |   ]; | ||||||
| 
 | 
 | ||||||
|   # nvidia |   # nvidia | ||||||
|  | @ -36,9 +35,6 @@ with lib.wyrdgard; { | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     apps = { |     apps = { | ||||||
|       cli-apps = { |  | ||||||
|         fish = enabled; |  | ||||||
|       }; |  | ||||||
|       vivaldi = enabled; |       vivaldi = enabled; | ||||||
|       discord = enabled; |       discord = enabled; | ||||||
|       _1password = enabled; |       _1password = enabled; | ||||||
|  | @ -48,13 +44,5 @@ with lib.wyrdgard; { | ||||||
|   services.xserver.videoDrivers = ["nvidia"]; |   services.xserver.videoDrivers = ["nvidia"]; | ||||||
|   services.xserver.displayManager.sddm.wayland.enable = lib.mkForce false; |   services.xserver.displayManager.sddm.wayland.enable = lib.mkForce false; | ||||||
| 
 | 
 | ||||||
|   # Configure Home-Manager options from NixOS. |  | ||||||
|   snowfallorg.user.cholli.home.config = { |  | ||||||
|     programs.kitty = { |  | ||||||
|       theme = "Tokyo Night"; |  | ||||||
|       shellIntegration.enableFishIntegration = true; |  | ||||||
|     }; |  | ||||||
|   }; |  | ||||||
| 
 |  | ||||||
|   system.stateVersion = "23.11"; |   system.stateVersion = "23.11"; | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 christoph.hollizeck
						christoph.hollizeck