mess around with fish
This commit is contained in:
parent
96c27a348f
commit
369a767b08
1 changed files with 19 additions and 4 deletions
|
@ -10,9 +10,17 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
user.packages = with pkgs; [ bat fd fzf grc ];
|
# runtime dependencies of plugins
|
||||||
|
user.packages = with pkgs; [
|
||||||
environment.systemPackages = with pkgs.fishPlugins; [ fzf-fish tide ];
|
# fzf-fish
|
||||||
|
bat fd fzf
|
||||||
|
# grc
|
||||||
|
grc
|
||||||
|
# tide
|
||||||
|
fishPlugins.tide
|
||||||
|
# done
|
||||||
|
libnotify
|
||||||
|
];
|
||||||
|
|
||||||
users.defaultUserShell = pkgs.fish;
|
users.defaultUserShell = pkgs.fish;
|
||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
|
@ -20,7 +28,14 @@ in {
|
||||||
colorScript = nix-colors-lib.shellThemeFromScheme { scheme = config.colorScheme; };
|
colorScript = nix-colors-lib.shellThemeFromScheme { scheme = config.colorScheme; };
|
||||||
in {
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = [ { name = "grc"; src = pkgs.fishPlugins.grc.src; } ];
|
plugins = with pkgs.fishPlugins; [
|
||||||
|
{ name = "fzf-fish"; src = fzf-fish.src; }
|
||||||
|
{ name = "grc"; src = grc.src; }
|
||||||
|
{ name = "tide"; src = tide.src; }
|
||||||
|
{ name = "done"; src = done.src; }
|
||||||
|
|
||||||
|
{ name = "autopair"; src = autopair.src; }
|
||||||
|
];
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
sh ${colorScript}
|
sh ${colorScript}
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue