Working on terminal
This commit is contained in:
+342
-330
File diff suppressed because it is too large
Load Diff
+20
-8
@@ -1100,20 +1100,32 @@ This is top file of this level which contains just an import statement for all r
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** =generated/system/applications/terminal_shell/starship.nix=
|
** =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
|
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
|
#+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;
|
# Install Starship (optional, system-wide)
|
||||||
programs.starship = {
|
environment.systemPackages = with pkgs; [ starship ];
|
||||||
enable = true;
|
|
||||||
enableZshIntegration = true;
|
# Home Manager configuration for Starship
|
||||||
enableBashIntegration = true;
|
home-manager.users.${user.username} = {
|
||||||
enableFishIntegration = true;
|
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;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,23 @@
|
|||||||
{ config, pkgs, lib, flakeRoot, ... }:
|
{ config, pkgs, lib, user, inputs, flakeRoot, ... }:
|
||||||
{
|
{
|
||||||
xdg.enable = true;
|
# Install Starship (optional, system-wide)
|
||||||
programs.starship = {
|
environment.systemPackages = with pkgs; [ starship ];
|
||||||
enable = true;
|
|
||||||
enableZshIntegration = true;
|
# Home Manager configuration for Starship
|
||||||
enableBashIntegration = true;
|
home-manager.users.${user.username} = {
|
||||||
enableFishIntegration = true;
|
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