mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-31 04:04:32 +00:00
zoxide: replace mkOption with lib.mkOption
This commit is contained in:
parent
e757c135d2
commit
e0adf308bf
1 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@ in {
|
|||
options.programs.zoxide = {
|
||||
enable = mkEnableOption "zoxide";
|
||||
|
||||
package = mkOption {
|
||||
package = lib.mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.zoxide;
|
||||
defaultText = literalExpression "pkgs.zoxide";
|
||||
|
@ -23,7 +23,7 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
options = mkOption {
|
||||
options = lib.mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [ ];
|
||||
example = [ "--no-cmd" ];
|
||||
|
@ -44,7 +44,7 @@ in {
|
|||
enableZshIntegration =
|
||||
lib.hm.shell.mkZshIntegrationOption { inherit config; };
|
||||
|
||||
enableXonshIntegration = mkOption {
|
||||
enableXonshIntegration = lib.mkOption {
|
||||
default = true;
|
||||
type = types.bool;
|
||||
description = ''
|
||||
|
|
Loading…
Add table
Reference in a new issue