nix flake update and warnings fixes.
This commit is contained in:
		
							parent
							
								
									fd79b1e2a2
								
							
						
					
					
						commit
						7784c07a01
					
				
					 7 changed files with 118 additions and 113 deletions
				
			
		| 
						 | 
				
			
			@ -8,71 +8,75 @@
 | 
			
		|||
    programs.nixvim = {
 | 
			
		||||
      plugins.lualine = {
 | 
			
		||||
        enable = true;
 | 
			
		||||
        alwaysDivideMiddle = true;
 | 
			
		||||
        iconsEnabled = true;
 | 
			
		||||
        sections = {
 | 
			
		||||
          lualine_a = [
 | 
			
		||||
            {name = "mode";}
 | 
			
		||||
          ];
 | 
			
		||||
          lualine_b = [
 | 
			
		||||
            {name = "branch";}
 | 
			
		||||
            {name = "diff";}
 | 
			
		||||
            {name = "diagnostics";}
 | 
			
		||||
          ];
 | 
			
		||||
          lualine_c = [
 | 
			
		||||
            {
 | 
			
		||||
              name = "filename";
 | 
			
		||||
              extraConfig = {path = 1;};
 | 
			
		||||
            }
 | 
			
		||||
          ];
 | 
			
		||||
          lualine_x = [
 | 
			
		||||
            {name = "encoding";}
 | 
			
		||||
            {name = "fileformat";}
 | 
			
		||||
            {name = "filetype";}
 | 
			
		||||
          ];
 | 
			
		||||
          lualine_y = [
 | 
			
		||||
            {name = "progress";}
 | 
			
		||||
          ];
 | 
			
		||||
          lualine_z = [
 | 
			
		||||
            {name = "location";}
 | 
			
		||||
          ];
 | 
			
		||||
        };
 | 
			
		||||
        settings = {
 | 
			
		||||
          options = {
 | 
			
		||||
            alwaysDivideMiddle = true;
 | 
			
		||||
            icons_enabled = true;
 | 
			
		||||
          };
 | 
			
		||||
          sections = {
 | 
			
		||||
            lualine_a = [
 | 
			
		||||
              "mode"
 | 
			
		||||
            ];
 | 
			
		||||
            lualine_b = [
 | 
			
		||||
              "branch"
 | 
			
		||||
              "diff"
 | 
			
		||||
              "diagnostics"
 | 
			
		||||
            ];
 | 
			
		||||
            lualine_c = [
 | 
			
		||||
              {
 | 
			
		||||
                __unkeyed = "filename";
 | 
			
		||||
                path = 1;
 | 
			
		||||
              }
 | 
			
		||||
            ];
 | 
			
		||||
            lualine_x = [
 | 
			
		||||
              "encoding"
 | 
			
		||||
              "fileformat"
 | 
			
		||||
              "filetype"
 | 
			
		||||
            ];
 | 
			
		||||
            lualine_y = [
 | 
			
		||||
              "progress"
 | 
			
		||||
            ];
 | 
			
		||||
            lualine_z = [
 | 
			
		||||
              "location"
 | 
			
		||||
            ];
 | 
			
		||||
          };
 | 
			
		||||
 | 
			
		||||
        inactiveSections = {
 | 
			
		||||
          lualine_a = [];
 | 
			
		||||
          lualine_b = [];
 | 
			
		||||
          lualine_c = [{name = "filename";}];
 | 
			
		||||
          lualine_x = [{name = "filetype";}];
 | 
			
		||||
          lualine_y = [];
 | 
			
		||||
          lualine_z = [];
 | 
			
		||||
        };
 | 
			
		||||
          inactiveSections = {
 | 
			
		||||
            lualine_a = [];
 | 
			
		||||
            lualine_b = [];
 | 
			
		||||
            lualine_c = ["filename"];
 | 
			
		||||
            lualine_x = ["filetype"];
 | 
			
		||||
            lualine_y = [];
 | 
			
		||||
            lualine_z = [];
 | 
			
		||||
          };
 | 
			
		||||
 | 
			
		||||
        tabline = {
 | 
			
		||||
          lualine_a = [
 | 
			
		||||
            {
 | 
			
		||||
              name = "buffers";
 | 
			
		||||
              extraConfig = {mode = 4;};
 | 
			
		||||
            }
 | 
			
		||||
          ];
 | 
			
		||||
          lualine_b = [];
 | 
			
		||||
          lualine_c = [];
 | 
			
		||||
          lualine_x = [];
 | 
			
		||||
          lualine_y = [];
 | 
			
		||||
          lualine_z = [
 | 
			
		||||
            {
 | 
			
		||||
              name = "tabs";
 | 
			
		||||
              extraConfig = {mode = 2;};
 | 
			
		||||
            }
 | 
			
		||||
          ];
 | 
			
		||||
        };
 | 
			
		||||
          tabline = {
 | 
			
		||||
            lualine_a = [
 | 
			
		||||
              {
 | 
			
		||||
                __unkeyed = "buffers";
 | 
			
		||||
                mode = 4;
 | 
			
		||||
              }
 | 
			
		||||
            ];
 | 
			
		||||
            lualine_b = [];
 | 
			
		||||
            lualine_c = [];
 | 
			
		||||
            lualine_x = [];
 | 
			
		||||
            lualine_y = [];
 | 
			
		||||
            lualine_z = [
 | 
			
		||||
              {
 | 
			
		||||
                __unkeyed="tabs";
 | 
			
		||||
                mode = 2;
 | 
			
		||||
              }
 | 
			
		||||
            ];
 | 
			
		||||
          };
 | 
			
		||||
 | 
			
		||||
        winbar = {
 | 
			
		||||
          lualine_a = [];
 | 
			
		||||
          lualine_b = [];
 | 
			
		||||
          lualine_c = [];
 | 
			
		||||
          lualine_x = [];
 | 
			
		||||
          lualine_y = [];
 | 
			
		||||
          lualine_z = [];
 | 
			
		||||
          winbar = {
 | 
			
		||||
            lualine_a = [];
 | 
			
		||||
            lualine_b = [];
 | 
			
		||||
            lualine_c = [];
 | 
			
		||||
            lualine_x = [];
 | 
			
		||||
            lualine_y = [];
 | 
			
		||||
            lualine_z = [];
 | 
			
		||||
          };
 | 
			
		||||
        };
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,6 +6,7 @@
 | 
			
		|||
}: {
 | 
			
		||||
  config = lib.mkIf config.user.nvim.enable {
 | 
			
		||||
    programs.nixvim = {
 | 
			
		||||
      plugins.web-devicons.enable = true;
 | 
			
		||||
      plugins.nvim-tree = {
 | 
			
		||||
        enable = true;
 | 
			
		||||
        disableNetrw = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,7 +8,7 @@
 | 
			
		|||
    programs.nixvim = {
 | 
			
		||||
      plugins.comment.enable = true;
 | 
			
		||||
      plugins.marks.enable = true;
 | 
			
		||||
      plugins.surround.enable = true;
 | 
			
		||||
      plugins.vim-surround.enable = true;
 | 
			
		||||
      plugins.todo-comments.enable = true;
 | 
			
		||||
      plugins.leap = {
 | 
			
		||||
        enable = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,6 +6,7 @@
 | 
			
		|||
}: {
 | 
			
		||||
  config = lib.mkIf config.user.nvim.enable {
 | 
			
		||||
    programs.nixvim = {
 | 
			
		||||
      plugins.web-devicons.enable = true;
 | 
			
		||||
      plugins.telescope = {
 | 
			
		||||
        enable = true;
 | 
			
		||||
      };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue