working maybe?
This commit is contained in:
parent
6d7ffc5cc4
commit
6abc7fe210
70 changed files with 406 additions and 1528 deletions
|
@ -1 +1 @@
|
|||
_: {imports = [./neovim.nix ./fish.nix ./nh.nix];}
|
||||
_: {imports = [./fish.nix ./nh.nix];}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue