refactor: add comment and move inherit

nixos
Moritz Böhme 2024-06-30 18:46:10 +02:00
parent 4328c77625
commit 1dee671b98
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,9 @@
{ config, lib, pkgs, inputs, ... }: { config, lib, pkgs, inputs, ... }:
let let
cfg = config.my.programs.nvim;
inherit (lib) mkEnableOption mkIf readFile; inherit (lib) mkEnableOption mkIf readFile;
cfg = config.my.programs.nvim;
in in
{ {
imports = lib.my.listModulesRec ./plugins; imports = lib.my.listModulesRec ./plugins;
@ -17,10 +18,9 @@ in
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [
xdotool xdotool # for vimtex
]; ];
programs.neovim = { programs.neovim = {
enable = true; enable = true;
package = inputs.neovim-nightly-overlay.packages.${pkgs.system}.default; package = inputs.neovim-nightly-overlay.packages.${pkgs.system}.default;