From a4294731bcc693b27466663f2e1acd583b278a9f Mon Sep 17 00:00:00 2001 From: Victor Date: Fri, 9 Dec 2022 11:54:59 +0100 Subject: [PATCH] more nvim configs --- nixos/hosts/thalassa/aoife/home/.gitignore | 2 +- nixos/hosts/thalassa/aoife/home/dconf.nix | 1 + nixos/hosts/thalassa/aoife/home/default.nix | 2 +- nixos/hosts/thalassa/aoife/home/neovim.nix | 3 +++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/nixos/hosts/thalassa/aoife/home/.gitignore b/nixos/hosts/thalassa/aoife/home/.gitignore index 16cb60c..3e0fc8e 100644 --- a/nixos/hosts/thalassa/aoife/home/.gitignore +++ b/nixos/hosts/thalassa/aoife/home/.gitignore @@ -1 +1 @@ -*_dconf_dump \ No newline at end of file +*dconf_dump* \ No newline at end of file diff --git a/nixos/hosts/thalassa/aoife/home/dconf.nix b/nixos/hosts/thalassa/aoife/home/dconf.nix index 31339ee..e0c3571 100644 --- a/nixos/hosts/thalassa/aoife/home/dconf.nix +++ b/nixos/hosts/thalassa/aoife/home/dconf.nix @@ -72,5 +72,6 @@ with lib.hm.gvariant; }; "org/gnome/tweaks" = { show-extensions-notice = false; }; + "org/gnome/boxes" = { first-run = false; }; }; } diff --git a/nixos/hosts/thalassa/aoife/home/default.nix b/nixos/hosts/thalassa/aoife/home/default.nix index ec77f2b..88f4c74 100644 --- a/nixos/hosts/thalassa/aoife/home/default.nix +++ b/nixos/hosts/thalassa/aoife/home/default.nix @@ -62,7 +62,7 @@ in { clock24 = true; }; - programs.firefox = { enable = true; }; + programs.firefox.enable = true; programs.vscode = { enable = true; diff --git a/nixos/hosts/thalassa/aoife/home/neovim.nix b/nixos/hosts/thalassa/aoife/home/neovim.nix index 496479c..ede1d8c 100644 --- a/nixos/hosts/thalassa/aoife/home/neovim.nix +++ b/nixos/hosts/thalassa/aoife/home/neovim.nix @@ -10,6 +10,7 @@ maps.normal = { "ff" = "lua require('telescope.builtin').find_files()"; "fg" = "lua require('telescope.builtin').live_grep()"; + "" = "lua require('Comment.api').toggle.linewise.current()"; # map ctrl+/ to commenting code }; extraPlugins = with pkgs.vimPlugins; [ catppuccin-nvim luasnip ]; @@ -25,6 +26,7 @@ }; surround.enable = true; fugitive.enable = true; + gitgutter.enable = true; lualine = { enable = true; theme = "catppuccin"; @@ -34,6 +36,7 @@ extensions.fzf-native.enable = true; extensions.fzf-native.fuzzy = true; }; + comment-nvim = { enable = true; }; lsp = { enable = true; servers.rust-analyzer.enable = true;