more changes

This commit is contained in:
2023-11-20 23:28:12 +01:00
parent 1d562fba74
commit c3f7fa44fc
5 changed files with 23 additions and 77 deletions

View File

@@ -1,40 +1,19 @@
{ pkgs }:
{
home-manager.enable = true;
zsh = import ./programs/zsh.nix { inherit pkgs; };
rbw = import ./programs/bitwarden.nix;
git = import ./programs/git.nix;
lazygit.enable = true;
nixvim = import ./programs/nixvim.nix { inherit pkgs; };
nushell = {
fish = {
enable = true;
extraConfig = ''
let carapace_completer = { |spans|
carapace $spans.0 nushell $spans | from json
}
$env.config = {
show_banner: false,
completions: {
case_sensitive: false
quick: true
partial: true
algorithm: "fuzzy"
external: {
enable: true
max_results: 100
completer: $carapace_completer
}
}
}
$env.PATH = ($env.PATH | split row (char esep) | append /usr/bin/env)
$env.EDITOR = nvim
interactiveShellInit = ''
set fish_greeting
'';
};
carapace = {
oh-my-posh = {
enable = true;
enableNushellIntegration = true;
useTheme = "pararussel";
enableFishIntegration = true;
};
}