diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-24 13:29:56 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-24 13:30:07 +0200 |
commit | 7fa70995b70a68ccd3510d195aa489ff058f5987 (patch) | |
tree | 38ec7c6c1214951de50586bf4a12032ad1e44e76 /modules/by-name/nv/nvim/plgs/femaco/default.nix | |
parent | modules/nvim/plgs: Remove unused plugins (diff) | |
download | nixos-config-7fa70995b70a68ccd3510d195aa489ff058f5987.zip |
modules/nvim/plgs/femaco: Use the nixvim module
We still import the config as lua file, as it is essentially just callback functions, which would result in strings and `__raw` in nix.
Diffstat (limited to 'modules/by-name/nv/nvim/plgs/femaco/default.nix')
-rw-r--r-- | modules/by-name/nv/nvim/plgs/femaco/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/by-name/nv/nvim/plgs/femaco/default.nix b/modules/by-name/nv/nvim/plgs/femaco/default.nix index a30bb59f..0388844a 100644 --- a/modules/by-name/nv/nvim/plgs/femaco/default.nix +++ b/modules/by-name/nv/nvim/plgs/femaco/default.nix @@ -8,7 +8,6 @@ # You should have received a copy of the License along with this program. # If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. { - pkgs, lib, config, ... @@ -16,13 +15,14 @@ cfg = config.soispha.programs.nvim; in { home-manager.users.soispha.programs.nixvim = lib.mkIf cfg.enable { - # TODO: package femaco through a module + plugins.femaco = { + enable = true; + }; + extraConfigLuaPost = '' ${lib.strings.fileContents ./lua/femaco.lua} ''; - extraPlugins = [ - pkgs.vimPlugins.nvim-FeMaco-lua - ]; + keymaps = [ { key = "<leader>cc"; |