working maybe?

This commit is contained in:
Charlie Root 2024-07-06 13:39:24 +02:00
commit 6abc7fe210
70 changed files with 406 additions and 1528 deletions

View file

@ -1 +1 @@
_: {imports = [./neovim.nix ./fish.nix ./nh.nix];}
_: {imports = [./fish.nix ./nh.nix];}

View file

@ -37,10 +37,6 @@ in {
enable = true;
interactiveShellInit = "set fish_greeting";
plugins = [
{
name = "grc";
inherit (pkgs.fishPlugins.grc) src;
}
{
name = "sponge";
inherit (pkgs.fishPlugins.sponge) src;
@ -49,10 +45,6 @@ in {
name = "done";
inherit (pkgs.fishPlugins.done) src;
}
{
name = "colored_man_pages";
inherit (pkgs.fishPlugins.colored-man-pages) src;
}
{
name = "tide";
inherit (pkgs.fishPlugins.tide) src;

View file

@ -1,35 +0,0 @@
{
config,
lib,
pkgs,
...
}: let
lazyvim-config = pkgs.fetchFromGitHub {
owner = "Dragyx";
repo = "lazyvim-config";
rev = "d799724f48199d81ca6c8abb5951860fbf8fa0df";
hash = "sha256-NF92CweRFQ1qZS8NXoTUEljazRGXgXS2AuDt5IWmwBc=";
};
cfg = config.modules.programs.neovim-old;
username = config.modules.other.system.username;
in {
options.modules.programs.neovim-old.enable = lib.mkEnableOption "neovim-old";
config = lib.mkIf cfg.enable {
home-manager.users.${username} = {
home.packages = with pkgs; [lazygit ripgrep fd gcc xclip rust-analyzer];
programs.neovim = {
enable = true;
viAlias = true;
vimAlias = true;
defaultEditor = true;
};
xdg.configFile."nvim" = {
enable = true;
source = lazyvim-config;
recursive = true;
};
};
};
}