diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-02-08 17:30:57 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 18:58:52 -0700 |
| commit | 2aceb8f55e9b783be40f6eb8c3974dbb4f23bf28 (patch) | |
| tree | bfb1dbc21a85b16b41d36d0be8f75a9b2cd4f72d /snowfall/modules/home | |
| parent | d56dd7ec4c256fc7315a370ecd40cefd0fffc4fe (diff) | |
migration: tmux
Diffstat (limited to 'snowfall/modules/home')
| -rw-r--r-- | snowfall/modules/home/suites/dev/default.nix | 1 | ||||
| -rw-r--r-- | snowfall/modules/home/tools/tmux/default.nix | 15 |
2 files changed, 16 insertions, 0 deletions
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; + }; + }; +} |