Compare commits

..

No commits in common. "892f03c6e53bd39105253305a720039bac32cde5" and "e9832d91b2c8fd26a3e42e701a2d989df24e3c7c" have entirely different histories.

2 changed files with 12 additions and 41 deletions

View file

@ -18,6 +18,7 @@ in {
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
# set as default shell # set as default shell
users.users.moritz.shell = pkgs.fish; users.users.moritz.shell = pkgs.fish;
environment.systemPackages = with pkgs.fishPlugins; [fzf-fish pisces];
# needed for nix completions # needed for nix completions
programs.fish.enable = true; programs.fish.enable = true;
@ -25,30 +26,17 @@ in {
programs = { programs = {
fish = { fish = {
enable = true; enable = true;
plugins = let plugins = [
mkDef = pkg: { {
name = pkg.pname; name = "fish-completion-sync";
src = pkg.src; src = pkgs.fetchFromGitHub {
}; owner = "pfgray";
plugins = with pkgs.fishPlugins; [ repo = "fish-completion-sync";
sponge rev = "ba70b6457228af520751eab48430b1b995e3e0e2";
pisces sha256 = "sha256-JdOLsZZ1VFRv7zA2i/QEZ1eovOym/Wccn0SJyhiP9hI=";
colored-man-pages };
done }
]; ];
in
map mkDef plugins
++ [
{
name = "fish-completion-sync";
src = pkgs.fetchFromGitHub {
owner = "iynaix";
repo = "fish-completion-sync";
rev = "4f058ad2986727a5f510e757bc82cbbfca4596f0";
sha256 = "sha256-kHpdCQdYcpvi9EFM/uZXv93mZqlk1zCi2DRhWaDyK5g=";
};
}
];
shellAbbrs = shellConfig.abbreviations; shellAbbrs = shellConfig.abbreviations;
shellAliases = shellConfig.aliases; shellAliases = shellConfig.aliases;
shellInit = shellInit =

View file

@ -1,17 +0,0 @@
{pkgs, ...}: {
home-manager.users.moritz.programs.nixvim = {
extraPlugins = [pkgs.vimPlugins.tiny-inline-diagnostic-nvim];
extraConfigLuaPost = ''
require('tiny-inline-diagnostic').setup({
preset = "powerline",
options = {
throttle = 0,
multilines = {
enabled = true,
},
},
})
vim.diagnostic.config({ virtual_text = false })
'';
};
}