add starship back
This commit is contained in:
parent
606e41d3ee
commit
7e0ccfa989
4 changed files with 10 additions and 11 deletions
|
@ -2,6 +2,7 @@ _:
|
|||
{
|
||||
imports = [
|
||||
./fish.nix
|
||||
./starship.nix
|
||||
./zoxide.nix
|
||||
./direnv.nix
|
||||
./zellij.nix
|
||||
|
|
|
@ -15,19 +15,10 @@ in
|
|||
set fish_greeting # Disable greeting
|
||||
fish_vi_key_bindings # Enable Vi mode
|
||||
fish_config theme choose "Catppuccin Frappe"
|
||||
|
||||
set --global hydro_fetch true
|
||||
set --global hydro_multiline true
|
||||
set --global hydro_color_pwd blue
|
||||
set --global hydro_color_git yellow
|
||||
set --global hydro_color_error red
|
||||
set --global hydro_color_prompt magenta
|
||||
set --global hydro_color_duration cyan
|
||||
'';
|
||||
shellAbbrs = { cd = "z"; ngc = "sudo nix-collect-garbage -d"; };
|
||||
plugins = [
|
||||
{ name = "fzf"; src = pkgs.fishPlugins.fzf.src; }
|
||||
{ name = "hydro"; src = pkgs.fishPlugins.hydro.src; }
|
||||
];
|
||||
};
|
||||
|
||||
|
|
7
home/common/shell/starship.nix
Normal file
7
home/common/shell/starship.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
enableTransience = true;
|
||||
};
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, ... }:
|
||||
{ config, lib, username, ... }:
|
||||
let
|
||||
cfg = config.modules.docker;
|
||||
in
|
||||
|
@ -12,6 +12,6 @@ in
|
|||
setSocketVariable = true;
|
||||
};
|
||||
};
|
||||
users.users.nezia.extraGroups = [ "docker" ];
|
||||
users.users.${username}.extraGroups = [ "docker" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue