added enable options to termina modules.
This commit is contained in:
parent
6f0e167087
commit
3eee4e105d
16 changed files with 358 additions and 298 deletions
|
@ -1,10 +1,14 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.zellij.enable = true;
|
||||
home.file = {
|
||||
".config/zellij/config.kdl".source = ./config.kdl;
|
||||
options.user.zellij.enable = lib.mkEnableOption "enable zellij";
|
||||
config = lib.mkIf config.user.zellij.enable {
|
||||
programs.zellij.enable = true;
|
||||
home.file = {
|
||||
".config/zellij/config.kdl".source = ./config.kdl;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue