remove powerlevel10k module
This commit is contained in:
parent
33f5a07af1
commit
8120c37364
2 changed files with 23 additions and 47 deletions
|
|
@ -1,23 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.programs.zsh-powerlevel10k = {
|
||||
enable = lib.mkEnableOption "powerlevel10k zsh theme";
|
||||
package = lib.mkPackageOption pkgs "zsh-powerlevel10k" { nullable = true; };
|
||||
};
|
||||
|
||||
config =
|
||||
let
|
||||
cfg = config.programs.zsh-powerlevel10k;
|
||||
p10k = if (cfg.package != null) then cfg.package else pkgs.zsh-powerlevel10k;
|
||||
in
|
||||
lib.mkIf cfg.enable {
|
||||
programs.zsh.initContent = ''
|
||||
source ${p10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue