feat(tmux): add enable option
This commit is contained in:
@@ -1,7 +1,18 @@
|
||||
{ pkgs, dotsPath, ... }:
|
||||
|
||||
{
|
||||
config = {
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
dotsPath,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.tmux;
|
||||
in
|
||||
{
|
||||
options.tmux.enable = lib.mkEnableOption "tmux";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
tmuxp
|
||||
reptyr
|
||||
|
||||
Reference in New Issue
Block a user