mirror of
https://github.com/nix-community/home-manager
synced 2024-11-20 10:09:45 +01:00
kakoune: allow custom package (#3434)
This commit is contained in:
parent
cc58d31953
commit
e999dfe7cb
1 changed files with 4 additions and 3 deletions
|
@ -489,9 +489,8 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
kakouneWithPlugins = pkgs.wrapKakoune pkgs.kakoune-unwrapped {
|
kakouneWithPlugins =
|
||||||
configure = { plugins = cfg.plugins; };
|
pkgs.wrapKakoune cfg.package { configure = { plugins = cfg.plugins; }; };
|
||||||
};
|
|
||||||
|
|
||||||
configFile = let
|
configFile = let
|
||||||
wrapOptions = with cfg.config.wrapLines;
|
wrapOptions = with cfg.config.wrapLines;
|
||||||
|
@ -624,6 +623,8 @@ in {
|
||||||
programs.kakoune = {
|
programs.kakoune = {
|
||||||
enable = mkEnableOption "the kakoune text editor";
|
enable = mkEnableOption "the kakoune text editor";
|
||||||
|
|
||||||
|
package = mkPackageOption pkgs "kakoune-unwrapped" { };
|
||||||
|
|
||||||
config = mkOption {
|
config = mkOption {
|
||||||
type = types.nullOr configModule;
|
type = types.nullOr configModule;
|
||||||
default = { };
|
default = { };
|
||||||
|
|
Loading…
Reference in a new issue