mirror of
https://github.com/thegeneralist01/config.git
synced 2026-05-30 08:37:01 +02:00
31 lines
625 B
Nix
31 lines
625 B
Nix
{ lib, pkgs, ... }:
|
|
let
|
|
inherit (lib) getExe;
|
|
in
|
|
{
|
|
environment.systemPackages = [
|
|
pkgs.carapace
|
|
pkgs.fish
|
|
pkgs.zsh
|
|
pkgs.bash
|
|
pkgs.inshellisense
|
|
];
|
|
|
|
environment.variables.CARAPACE_BRIDGES = "inshellisense,carapace,zsh,fish,bash";
|
|
|
|
home-manager.sharedModules = [{
|
|
programs.carapace = {
|
|
enable = true;
|
|
enableNushellIntegration = false;
|
|
enableZshIntegration = false;
|
|
};
|
|
|
|
programs.nushell.extraConfig = /* nu */ ''
|
|
source ${
|
|
pkgs.runCommand "carapace.nu" { } ''
|
|
${getExe pkgs.carapace} _carapace nushell > $out
|
|
''
|
|
}
|
|
'';
|
|
}];
|
|
}
|