mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Configure zsh
This commit is contained in:
parent
c9b3277d95
commit
349e926e32
6 changed files with 60 additions and 25 deletions
|
|
@ -1,8 +1,24 @@
|
|||
{ pkgs, lib, config, ... }: {
|
||||
options.mods.terminal.tools.enable = lib.mkEnableOption "enables cli tools";
|
||||
{ pkgs, lib, config, ... }:
|
||||
let
|
||||
cfg = config.mods.terminal;
|
||||
in with lib; {
|
||||
options.mods.terminal.tools.enable = mkEnableOption "enables cli tools";
|
||||
|
||||
config = lib.mkIf config.mods.terminal.tools.enable {
|
||||
programs.zellij.enable = true;
|
||||
config = mkIf cfg.tools.enable {
|
||||
programs.zellij = {
|
||||
enable = true;
|
||||
enableZshIntegration = mkIf cfg.zsh.enable true;
|
||||
};
|
||||
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
enableZshIntegration = mkIf cfg.zsh.enable true;
|
||||
};
|
||||
|
||||
programs.dircolors = {
|
||||
enable = true;
|
||||
enableZshIntegration = mkIf cfg.zsh.enable true;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# libraries
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue