From 8c107d27cb19477ed6be681fa758efc88c41509c Mon Sep 17 00:00:00 2001 From: Sam Willcocks Date: Tue, 1 Mar 2022 14:51:42 +0000 Subject: [PATCH] Autoformat --- home/default.nix | 6 ++---- home/macs.nix | 5 +++-- home/vim.nix | 14 +++++++------- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/home/default.nix b/home/default.nix index bde94a2..4a3e1af 100644 --- a/home/default.nix +++ b/home/default.nix @@ -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) "; }; diff --git a/home/macs.nix b/home/macs.nix index cb181da..e04fb2f 100644 --- a/home/macs.nix +++ b/home/macs.nix @@ -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"; }; } diff --git a/home/vim.nix b/home/vim.nix index 1f26cab..5afb3bf 100644 --- a/home/vim.nix +++ b/home/vim.nix @@ -7,10 +7,10 @@ enable = true; viAlias = true; vimAlias = true; - plugins = with pkgs.vimPlugins; [ + plugins = with pkgs.vimPlugins; [ # Basic stuff vim-sensible - vim-noctu # 16color colorscheme + vim-noctu # 16color colorscheme gruvbox-nvim fzfWrapper # More fancy shit @@ -19,16 +19,16 @@ nvim-lspconfig trouble-nvim vim-nix - rust-vim + rust-vim vim-go # Git stuff - fugitive + fugitive vim-gitgutter ]; extraConfig = '' - lua <