mirror of
				https://github.com/wlcx/home.git
				synced 2025-11-04 06:43:44 +00:00 
			
		
		
		
	Autoformat
This commit is contained in:
		
							parent
							
								
									6a64411c0a
								
							
						
					
					
						commit
						8c107d27cb
					
				@ -6,8 +6,7 @@ in {
 | 
			
		||||
  home.sessionVariables = {
 | 
			
		||||
    "PATH" = "$HOME/.local/bin:$PATH";
 | 
			
		||||
    "EDITOR" = "vim";
 | 
			
		||||
    "WORDCHARS" =
 | 
			
		||||
      "\${WORDCHARS//[\\/.]/}"; # ctrl-w on paths without make angery
 | 
			
		||||
    "WORDCHARS" = "\${WORDCHARS//[\\/.]/}"; # ctrl-w on paths without make angery
 | 
			
		||||
  };
 | 
			
		||||
  programs = {
 | 
			
		||||
    home-manager.enable = true;
 | 
			
		||||
@ -54,8 +53,7 @@ in {
 | 
			
		||||
        hostname.format = "[$hostname]($style) ";
 | 
			
		||||
        directory = { truncation_length = -1; };
 | 
			
		||||
        git_branch.format = "[$symbol$branch]($style) ";
 | 
			
		||||
        python.format =
 | 
			
		||||
          "[py \${pyenv_prefix}(\${version} )(\\($virtualenv\\) )]($style)";
 | 
			
		||||
        python.format = "[py \${pyenv_prefix}(\${version} )(\\($virtualenv\\) )]($style)";
 | 
			
		||||
        nodejs.format = "[js ($version )]($style)";
 | 
			
		||||
        nix_shell.format = "[nix $state( \\($name\\))]($style) ";
 | 
			
		||||
      };
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,8 @@
 | 
			
		||||
{ pkgs, lib, ... }: {
 | 
			
		||||
    # Use secretive for SSH agent
 | 
			
		||||
  # Use secretive for SSH agent
 | 
			
		||||
  programs.ssh.matchBlocks.all = lib.mkIf pkgs.stdenv.isDarwin {
 | 
			
		||||
    host = "*";
 | 
			
		||||
    extraOptions."IdentityAgent" = "~/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh";
 | 
			
		||||
    extraOptions."IdentityAgent" =
 | 
			
		||||
      "~/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh";
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -10,7 +10,7 @@
 | 
			
		||||
    plugins = with pkgs.vimPlugins; [
 | 
			
		||||
      # Basic stuff
 | 
			
		||||
      vim-sensible
 | 
			
		||||
      vim-noctu  # 16color colorscheme
 | 
			
		||||
      vim-noctu # 16color colorscheme
 | 
			
		||||
      gruvbox-nvim
 | 
			
		||||
      fzfWrapper
 | 
			
		||||
      # More fancy shit
 | 
			
		||||
@ -26,9 +26,9 @@
 | 
			
		||||
      vim-gitgutter
 | 
			
		||||
    ];
 | 
			
		||||
    extraConfig = ''
 | 
			
		||||
    lua <<EOF
 | 
			
		||||
      ${builtins.readFile ./init.lua}
 | 
			
		||||
    EOF
 | 
			
		||||
      lua <<EOF
 | 
			
		||||
        ${builtins.readFile ./init.lua}
 | 
			
		||||
      EOF
 | 
			
		||||
    '';
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user