Working on terminal

This commit is contained in:
2026-03-07 22:59:09 +01:00
parent dc02202006
commit d511f424c1
3 changed files with 382 additions and 345 deletions
+20 -8
View File
@@ -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;
};
};
};
}