Skip to content

Commit

Permalink
feat: add zellij
Browse files Browse the repository at this point in the history
  • Loading branch information
2giosangmitom committed Aug 26, 2024
1 parent 17156c6 commit c72821e
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 1 deletion.
1 change: 1 addition & 0 deletions home/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
./programs/starship.nix
./programs/waybar
./programs/yazi.nix
./programs/zellij.nix

./graphical/sway.nix
];
Expand Down
8 changes: 7 additions & 1 deletion home/programs/alacritty.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@ in
programs.alacritty = {
enable = true;
settings = {
shell = "zsh";
shell = {
program = "zsh";
args = [
"-c"
"zellij"
];
};
font = {
size = 10;
normal = {
Expand Down
18 changes: 18 additions & 0 deletions home/programs/zellij.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{ config, lib, ... }:
let
cfg = config.dotfiles.zellij;
in
{
options.dotfiles.zellij = {
enable = lib.mkEnableOption "Zellij";
};

config = lib.mkIf cfg.enable {
programs.zellij = {
enable = true;
settings = {
simplified_ui = true;
};
};
};
}
1 change: 1 addition & 0 deletions hosts/nixos/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
lazygit.enable = true;
yazi.enable = true;
waybar.enable = true;
zellij.enable = true;
};
graphical.sway.enable = true;
}

0 comments on commit c72821e

Please sign in to comment.