Working on terminal
This commit is contained in:
+20
-8
@@ -1100,20 +1100,32 @@ This is top file of this level which contains just an import statement for all r
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
#+END_SRC
|
||||
|
||||
** =generated/system/applications/terminal_shell/starship.nix=
|
||||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||||
#+BEGIN_SRC nix :tangle generated/system/applications/terminal_shell/starship.nix :noweb tangle :mkdirp yes :eval never-html
|
||||
{ config, pkgs, lib, flakeRoot, ... }:
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot, ... }:
|
||||
{
|
||||
xdg.enable = true;
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
enableBashIntegration = true;
|
||||
enableFishIntegration = true;
|
||||
# Install Starship (optional, system-wide)
|
||||
environment.systemPackages = with pkgs; [ starship ];
|
||||
|
||||
# Home Manager configuration for Starship
|
||||
home-manager.users.${user.username} = {
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
# Enable for specific shells (e.g., bash, zsh, fish)
|
||||
settings = {
|
||||
# Your Starship config here (e.g., theme, modules)
|
||||
addNewline = false;
|
||||
};
|
||||
# Enable shell integration (per-shell)
|
||||
shellIntegration = {
|
||||
bash.enable = true;
|
||||
zsh.enable = true;
|
||||
fish.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user