From ad636b8d000b7eda47820da13f6810d9c3dd0864 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Fri, 13 Oct 2023 10:08:32 +0200 Subject: [PATCH] remove firefox translate popups don't let firefox remember logins install terraform-ls for nvim fix work ssh private key file location --- home/firefox/default.nix | 2 ++ home/neovim/default.nix | 1 + home/neovim/neovim.lua | 3 +++ home/ssh/default.nix | 2 +- 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/home/firefox/default.nix b/home/firefox/default.nix index 184a22f..a2563df 100644 --- a/home/firefox/default.nix +++ b/home/firefox/default.nix @@ -8,6 +8,8 @@ let "browser.toolbars.bookmarks.visibility" = "always"; "browser.tabs.firefox-view" = false; "browser.shell.checkDefaultBrowser" = false; + "browser.translations.automaticallyPopup" = false; + "signon.rememberSignons" = false; }; in { diff --git a/home/neovim/default.nix b/home/neovim/default.nix index d17be6b..87b5422 100644 --- a/home/neovim/default.nix +++ b/home/neovim/default.nix @@ -7,6 +7,7 @@ nodePackages.pyright neofetch gopls + terraform-ls ]; programs.neovim = { diff --git a/home/neovim/neovim.lua b/home/neovim/neovim.lua index 918c3f2..a31e167 100644 --- a/home/neovim/neovim.lua +++ b/home/neovim/neovim.lua @@ -42,6 +42,7 @@ require('neodev').setup() require'lspconfig'.nil_ls.setup{ on_attach = on_attach, capabilities = capabilities } require'lspconfig'.pyright.setup{ on_attach = on_attach, capabilities = capabilities } require'lspconfig'.gopls.setup{ on_attach = on_attach, capabilities = capabilities } +require'lspconfig'.terraformls.setup{ on_attach = on_attach, capabilities = capabilities } --[ LEAP ]-- @@ -81,9 +82,11 @@ require('telescope').setup{ } --[ COMMENTARY ]-- + vim.cmd([[autocmd FileType nix setlocal commentstring=#\ %s]]) --[ GITSIGNS ]-- + require("gitsigns").setup() --[ CMP ]-- diff --git a/home/ssh/default.nix b/home/ssh/default.nix index b5c52e1..bff9550 100644 --- a/home/ssh/default.nix +++ b/home/ssh/default.nix @@ -9,7 +9,7 @@ matchBlocks = { gitlab-sue = lib.hm.dag.entryBefore [ "*" ] { hostname = "gitlab.com"; - identityFile = "~/.ssh/sue_ed25519"; + identityFile = "~/.ssh/sue/id_ed25519"; identitiesOnly = true; }; github = lib.hm.dag.entryBefore [ "*" ] {