add starship back

This commit is contained in:
Anthony Rodriguez 2024-09-08 16:00:25 +02:00
parent 606e41d3ee
commit 7e0ccfa989
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
4 changed files with 10 additions and 11 deletions

View file

@ -2,6 +2,7 @@ _:
{
imports = [
./fish.nix
./starship.nix
./zoxide.nix
./direnv.nix
./zellij.nix

View file

@ -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; }
];
};

View file

@ -0,0 +1,7 @@
{ ... }:
{
programs.starship = {
enable = true;
enableTransience = true;
};
}

View file

@ -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" ];
};
}