aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/c-pc/home.nix2
-rw-r--r--snowfall/modules/home/suites/dev/default.nix1
-rw-r--r--snowfall/modules/home/tools/tmux/default.nix15
3 files changed, 16 insertions, 2 deletions
diff --git a/hosts/c-pc/home.nix b/hosts/c-pc/home.nix
index c9a4a94..78e1a90 100644
--- a/hosts/c-pc/home.nix
+++ b/hosts/c-pc/home.nix
@@ -30,8 +30,6 @@
};
programs = {
- tmux.enable = true;
-
zoxide.enable = true;
};
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;
+ };
+ };
+}