hm modules: gate behind enable options, always import
This commit is contained in:
parent
6ee82131cd
commit
c8cfa37bb9
8 changed files with 67 additions and 36 deletions
|
|
@ -1,13 +1,18 @@
|
|||
{ lib, config, ... }:
|
||||
{
|
||||
programs = {
|
||||
command-not-found.enable = true;
|
||||
dircolors.enable = true;
|
||||
options.my.zsh.enable = lib.mkEnableOption "zsh with basic settings";
|
||||
|
||||
zsh = {
|
||||
enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
autosuggestion.enable = true;
|
||||
enableVteIntegration = true;
|
||||
config = lib.mkIf config.my.zsh.enable {
|
||||
programs = {
|
||||
command-not-found.enable = true;
|
||||
dircolors.enable = true;
|
||||
|
||||
zsh = {
|
||||
enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
autosuggestion.enable = true;
|
||||
enableVteIntegration = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue