mirror of
				https://github.com/nmasur/dotfiles
				synced 2025-11-04 04:43:15 +00:00 
			
		
		
		
	Compare commits
	
		
			6 Commits
		
	
	
		
			eblume-mol
			...
			0a98b72784
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					0a98b72784 | ||
| 
						 | 
					c7de16b14c | ||
| 
						 | 
					1d405e1828 | ||
| 
						 | 
					97f99a149e | ||
| 
						 | 
					bc794f89bc | ||
| 
						 | 
					63b90102f2 | 
							
								
								
									
										17
									
								
								flake.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										17
									
								
								flake.lock
									
									
									
										generated
									
									
									
								
							@@ -304,6 +304,22 @@
 | 
				
			|||||||
        "type": "github"
 | 
					        "type": "github"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					    "markview-nvim-src": {
 | 
				
			||||||
 | 
					      "flake": false,
 | 
				
			||||||
 | 
					      "locked": {
 | 
				
			||||||
 | 
					        "lastModified": 1719592662,
 | 
				
			||||||
 | 
					        "narHash": "sha256-E1lHSjbnOOIeieaFJ+INvxJHCbfVS3mwbQ6wrlKeGSQ=",
 | 
				
			||||||
 | 
					        "owner": "OXY2DEV",
 | 
				
			||||||
 | 
					        "repo": "markview.nvim",
 | 
				
			||||||
 | 
					        "rev": "f60219dce7283192d549f21847fcf8537bf6d260",
 | 
				
			||||||
 | 
					        "type": "github"
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "original": {
 | 
				
			||||||
 | 
					        "owner": "OXY2DEV",
 | 
				
			||||||
 | 
					        "repo": "markview.nvim",
 | 
				
			||||||
 | 
					        "type": "github"
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
    "nextcloud-cookbook": {
 | 
					    "nextcloud-cookbook": {
 | 
				
			||||||
      "flake": false,
 | 
					      "flake": false,
 | 
				
			||||||
      "locked": {
 | 
					      "locked": {
 | 
				
			||||||
@@ -570,6 +586,7 @@
 | 
				
			|||||||
        "hmts-nvim-src": "hmts-nvim-src",
 | 
					        "hmts-nvim-src": "hmts-nvim-src",
 | 
				
			||||||
        "home-manager": "home-manager",
 | 
					        "home-manager": "home-manager",
 | 
				
			||||||
        "mac-app-util": "mac-app-util",
 | 
					        "mac-app-util": "mac-app-util",
 | 
				
			||||||
 | 
					        "markview-nvim-src": "markview-nvim-src",
 | 
				
			||||||
        "nextcloud-cookbook": "nextcloud-cookbook",
 | 
					        "nextcloud-cookbook": "nextcloud-cookbook",
 | 
				
			||||||
        "nextcloud-external": "nextcloud-external",
 | 
					        "nextcloud-external": "nextcloud-external",
 | 
				
			||||||
        "nextcloud-news": "nextcloud-news",
 | 
					        "nextcloud-news": "nextcloud-news",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -127,6 +127,10 @@
 | 
				
			|||||||
      url = "github:mfussenegger/nvim-lint";
 | 
					      url = "github:mfussenegger/nvim-lint";
 | 
				
			||||||
      flake = false;
 | 
					      flake = false;
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					    markview-nvim-src = {
 | 
				
			||||||
 | 
					      url = "github:OXY2DEV/markview.nvim";
 | 
				
			||||||
 | 
					      flake = false;
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Tree-Sitter Grammars
 | 
					    # Tree-Sitter Grammars
 | 
				
			||||||
    tree-sitter-bash = {
 | 
					    tree-sitter-bash = {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -34,10 +34,13 @@
 | 
				
			|||||||
      programs.rofi.terminal = lib.mkIf pkgs.stdenv.isLinux (lib.mkDefault "${pkgs.kitty}/bin/kitty");
 | 
					      programs.rofi.terminal = lib.mkIf pkgs.stdenv.isLinux (lib.mkDefault "${pkgs.kitty}/bin/kitty");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # Display images in the terminal
 | 
					      # Display images in the terminal
 | 
				
			||||||
      programs.fish.shellAliases = {
 | 
					      programs.fish.interactiveShellInit = # fish
 | 
				
			||||||
        icat = "kitty +kitten icat";
 | 
					        ''
 | 
				
			||||||
        ssh = "kitty +kitten ssh";
 | 
					          if test "$TERM" = "xterm-kitty"
 | 
				
			||||||
      };
 | 
					              alias icat="kitty +kitten icat"
 | 
				
			||||||
 | 
					              alias ssh="kitty +kitten ssh"
 | 
				
			||||||
 | 
					          end
 | 
				
			||||||
 | 
					        '';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      programs.kitty = {
 | 
					      programs.kitty = {
 | 
				
			||||||
        enable = true;
 | 
					        enable = true;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -10,7 +10,7 @@
 | 
				
			|||||||
    pkgs.vimPlugins.vim-eunuch # File manipulation commands
 | 
					    pkgs.vimPlugins.vim-eunuch # File manipulation commands
 | 
				
			||||||
    pkgs.vimPlugins.vim-fugitive # Git commands
 | 
					    pkgs.vimPlugins.vim-fugitive # Git commands
 | 
				
			||||||
    pkgs.vimPlugins.vim-repeat # Better repeat using .
 | 
					    pkgs.vimPlugins.vim-repeat # Better repeat using .
 | 
				
			||||||
    pkgs.vimPlugins.glow-nvim # Markdown preview popup
 | 
					    pkgs.vimPlugins.markview-nvim # Markdown preview
 | 
				
			||||||
    pkgs.vimPlugins.nvim-colorizer-lua # Hex color previews
 | 
					    pkgs.vimPlugins.nvim-colorizer-lua # Hex color previews
 | 
				
			||||||
    pkgs.vimPlugins.which-key-nvim # Keybind helper
 | 
					    pkgs.vimPlugins.which-key-nvim # Keybind helper
 | 
				
			||||||
  ];
 | 
					  ];
 | 
				
			||||||
@@ -21,7 +21,7 @@
 | 
				
			|||||||
      names = false;
 | 
					      names = false;
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
  setup.glow = { };
 | 
					  setup.markview = { };
 | 
				
			||||||
  setup.which-key = { };
 | 
					  setup.which-key = { };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  vim.o = {
 | 
					  vim.o = {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -14,11 +14,6 @@
 | 
				
			|||||||
    open_mapping = dsl.rawLua "[[<c-\\>]]";
 | 
					    open_mapping = dsl.rawLua "[[<c-\\>]]";
 | 
				
			||||||
    hide_numbers = true;
 | 
					    hide_numbers = true;
 | 
				
			||||||
    direction = "float";
 | 
					    direction = "float";
 | 
				
			||||||
    float_opts = {
 | 
					 | 
				
			||||||
      width = dsl.rawLua "vim.o.columns - 4";
 | 
					 | 
				
			||||||
      height = dsl.rawLua "vim.o.lines - 4";
 | 
					 | 
				
			||||||
      row = 0;
 | 
					 | 
				
			||||||
    };
 | 
					 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  lua = ''
 | 
					  lua = ''
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -71,8 +71,8 @@ key("n", "co", ":copen<CR>")
 | 
				
			|||||||
key("n", "cq", ":cclose<CR>")
 | 
					key("n", "cq", ":cclose<CR>")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-- Other
 | 
					-- Other
 | 
				
			||||||
key("n", "<A-CR>", ":noh<CR>", { silent = true })           --- Clear search in VimWiki
 | 
					key("n", "<A-CR>", ":noh<CR>", { silent = true }) --- Clear search in VimWiki
 | 
				
			||||||
key("n", "Y", "y$")                                         --- Copy to end of line
 | 
					key("n", "Y", "y$") --- Copy to end of line
 | 
				
			||||||
key("v", "<C-r>", "y<Esc>:%s/<C-r>+//gc<left><left><left>") --- Substitute selected
 | 
					key("v", "<C-r>", "y<Esc>:%s/<C-r>+//gc<left><left><left>") --- Substitute selected
 | 
				
			||||||
key("v", "D", "y'>gp")                                      --- Duplicate selected
 | 
					key("v", "D", "y'>gp") --- Duplicate selected
 | 
				
			||||||
key("x", "<Leader>p", '"_dP')                               --- Paste but keep register
 | 
					key("x", "<Leader>p", '"_dP') --- Paste but keep register
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2321,7 +2321,7 @@ in
 | 
				
			|||||||
                      datasourceUid = promUid;
 | 
					                      datasourceUid = promUid;
 | 
				
			||||||
                      model = {
 | 
					                      model = {
 | 
				
			||||||
                        editorMode = "code";
 | 
					                        editorMode = "code";
 | 
				
			||||||
                        expr = ''systemd_unit_state{name=~"cloudflared-tunnel-.*", state="active"}'';
 | 
					                        expr = ''systemd_unit_state{name=~"cloudflared-tunnel-.*", state="active", job!="tempest"}'';
 | 
				
			||||||
                        hide = false;
 | 
					                        hide = false;
 | 
				
			||||||
                        instant = true;
 | 
					                        instant = true;
 | 
				
			||||||
                        intervalMs = 1000;
 | 
					                        intervalMs = 1000;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -38,6 +38,10 @@ in
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  config = {
 | 
					  config = {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    services.victoriametrics.extraOptions = [
 | 
				
			||||||
 | 
					      "-promscrape.config=${(pkgs.formats.yaml { }).generate "scrape.yml" prometheusConfig}"
 | 
				
			||||||
 | 
					    ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    systemd.services.vmauth = lib.mkIf config.services.victoriametrics.enable {
 | 
					    systemd.services.vmauth = lib.mkIf config.services.victoriametrics.enable {
 | 
				
			||||||
      description = "VictoriaMetrics basic auth proxy";
 | 
					      description = "VictoriaMetrics basic auth proxy";
 | 
				
			||||||
      after = [ "network.target" ];
 | 
					      after = [ "network.target" ];
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -38,5 +38,6 @@ in
 | 
				
			|||||||
    base16-nvim = plugin "base16-nvim" inputs.base16-nvim-src;
 | 
					    base16-nvim = plugin "base16-nvim" inputs.base16-nvim-src;
 | 
				
			||||||
    baleia-nvim = plugin "baleia-nvim" inputs.baleia-nvim-src;
 | 
					    baleia-nvim = plugin "baleia-nvim" inputs.baleia-nvim-src;
 | 
				
			||||||
    hmts-nvim = plugin "hmts-nvim" inputs.hmts-nvim-src;
 | 
					    hmts-nvim = plugin "hmts-nvim" inputs.hmts-nvim-src;
 | 
				
			||||||
 | 
					    markview-nvim = plugin "markview-nvim" inputs.markview-nvim-src;
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user