mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 19:46:20 +00:00
more changes
This commit is contained in:
35
programs.nix
35
programs.nix
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user