Skip to content

Commit

Permalink
Add Terminals
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoruto committed Sep 11, 2024
1 parent f30830b commit 1cb7c6a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions modules/home-manager/pc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@
desktop.enable = lib.mkDefault true;
documents.enable = lib.mkDefault true;
gui.enable = lib.mkDefault true;
terminals.enable = lib.mkDefault true;
};
}
16 changes: 12 additions & 4 deletions modules/home-manager/pc/terminal/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
{lib, ...}: {
{
lib,
config,
...
}: {
imports = [
./alacritty.nix
./warp.nix
./wezterm.nix
];

alacritty.enable = lib.mkDefault false;
warp.enable = lib.mkDefault true;
wezterm.enable = lib.mkDefault true;
options.terminals.enable = lib.mkEnableOption "Enable configured terminals";

config = lib.mkIf config.terminals.enable {
alacritty.enable = lib.mkDefault false;
warp.enable = lib.mkDefault true;
wezterm.enable = lib.mkDefault true;
};
}

0 comments on commit 1cb7c6a

Please sign in to comment.