From 8c4f32645b41c0a7ccb02dd6bed065bb8d88fe0a Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sun, 14 Apr 2024 17:02:39 +0300 Subject: [PATCH] Revert "flake/modules: remove builtPackage" This reverts commit 2aa004b4565ebcd6cf812c8654c7865005b4b316. --- flake/modules/home-manager.nix | 10 ++++++++++ flake/modules/nixos.nix | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/flake/modules/home-manager.nix b/flake/modules/home-manager.nix index 791476e..0a6cd9d 100644 --- a/flake/modules/home-manager.nix +++ b/flake/modules/home-manager.nix @@ -22,6 +22,16 @@ in { options.programs.neovim-flake = { enable = mkEnableOption "neovim-flake, the extensible neovim-wrapper"; + + builtPackage = mkOption { + type = anything; + default = builtPackage; + internal = true; + description = '' + The built neovim-flake package, wrapped with the user's configuration. + ''; + }; + settings = mkOption { type = attrsOf anything; default = {}; diff --git a/flake/modules/nixos.nix b/flake/modules/nixos.nix index 5dee2c0..968c7d4 100644 --- a/flake/modules/nixos.nix +++ b/flake/modules/nixos.nix @@ -22,6 +22,16 @@ in { options.programs.neovim-flake = { enable = mkEnableOption "neovim-flake, the extensible neovim-wrapper"; + + builtPackage = mkOption { + type = anything; + default = builtPackage; + internal = true; + description = '' + The built neovim-flake package, wrapped with the user's configuration. + ''; + }; + settings = mkOption { type = attrsOf anything; default = {};