feat(tmux): add enable option
This commit is contained in:
1 parent
2d4f428fd3
commit
a3c24382f8
2 files changed
+21
-3
No files matched your search
@@ -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