mirror of https://github.com/wlcx/home.git
Autoformat
This commit is contained in:
parent
6a64411c0a
commit
8c107d27cb
|
@ -6,8 +6,7 @@ in {
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
"PATH" = "$HOME/.local/bin:$PATH";
|
"PATH" = "$HOME/.local/bin:$PATH";
|
||||||
"EDITOR" = "vim";
|
"EDITOR" = "vim";
|
||||||
"WORDCHARS" =
|
"WORDCHARS" = "\${WORDCHARS//[\\/.]/}"; # ctrl-w on paths without make angery
|
||||||
"\${WORDCHARS//[\\/.]/}"; # ctrl-w on paths without make angery
|
|
||||||
};
|
};
|
||||||
programs = {
|
programs = {
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
|
@ -54,8 +53,7 @@ in {
|
||||||
hostname.format = "[$hostname]($style) ";
|
hostname.format = "[$hostname]($style) ";
|
||||||
directory = { truncation_length = -1; };
|
directory = { truncation_length = -1; };
|
||||||
git_branch.format = "[$symbol$branch]($style) ";
|
git_branch.format = "[$symbol$branch]($style) ";
|
||||||
python.format =
|
python.format = "[py \${pyenv_prefix}(\${version} )(\\($virtualenv\\) )]($style)";
|
||||||
"[py \${pyenv_prefix}(\${version} )(\\($virtualenv\\) )]($style)";
|
|
||||||
nodejs.format = "[js ($version )]($style)";
|
nodejs.format = "[js ($version )]($style)";
|
||||||
nix_shell.format = "[nix $state( \\($name\\))]($style) ";
|
nix_shell.format = "[nix $state( \\($name\\))]($style) ";
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# Use secretive for SSH agent
|
# Use secretive for SSH agent
|
||||||
programs.ssh.matchBlocks.all = lib.mkIf pkgs.stdenv.isDarwin {
|
programs.ssh.matchBlocks.all = lib.mkIf pkgs.stdenv.isDarwin {
|
||||||
host = "*";
|
host = "*";
|
||||||
extraOptions."IdentityAgent" = "~/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh";
|
extraOptions."IdentityAgent" =
|
||||||
|
"~/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue