From 2aceb8f55e9b783be40f6eb8c3974dbb4f23bf28 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Sat, 8 Feb 2025 17:30:57 -0800 Subject: migration: tmux --- snowfall/modules/home/suites/dev/default.nix | 1 + snowfall/modules/home/tools/tmux/default.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 snowfall/modules/home/tools/tmux/default.nix (limited to 'snowfall/modules') diff --git a/snowfall/modules/home/suites/dev/default.nix b/snowfall/modules/home/suites/dev/default.nix index 57302cd..eb1fef9 100644 --- a/snowfall/modules/home/suites/dev/default.nix +++ b/snowfall/modules/home/suites/dev/default.nix @@ -24,6 +24,7 @@ in { tools = { cloc.enable = true; + tmux.enable = true; }; }; }; diff --git a/snowfall/modules/home/tools/tmux/default.nix b/snowfall/modules/home/tools/tmux/default.nix new file mode 100644 index 0000000..3f9b7a0 --- /dev/null +++ b/snowfall/modules/home/tools/tmux/default.nix @@ -0,0 +1,15 @@ +{ options, config, lib, namespace, ... }: + +with lib; with lib.${namespace}; let + cfg = config.${namespace}.tools.tmux; +in { + options.${namespace}.tools.tmux = with types; { + enable = mkEnableOption "tmux"; + }; + + config = mkIf cfg.enable { + programs.tmux = { + enable = true; + }; + }; +} -- cgit v1.2.3