mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
zellij: use mkPackageOption
This commit is contained in:
@@ -17,14 +17,7 @@ in {
|
||||
options.programs.zellij = {
|
||||
enable = lib.mkEnableOption "Zellij";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.zellij;
|
||||
defaultText = lib.literalExpression "pkgs.zellij";
|
||||
description = ''
|
||||
The Zellij package to install.
|
||||
'';
|
||||
};
|
||||
package = lib.mkPackageOption pkgs "zellij" { };
|
||||
|
||||
settings = lib.mkOption {
|
||||
type = yamlFormat.type;
|
||||
|
||||
Reference in New Issue
Block a user