aboutsummaryrefslogtreecommitdiff
path: root/nixos/terminal_workspace
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/terminal_workspace')
-rw-r--r--nixos/terminal_workspace/default.nix6
-rw-r--r--nixos/terminal_workspace/tmux.nix13
-rw-r--r--nixos/terminal_workspace/zellij.nix6
3 files changed, 25 insertions, 0 deletions
diff --git a/nixos/terminal_workspace/default.nix b/nixos/terminal_workspace/default.nix
new file mode 100644
index 0000000..862cbb1
--- /dev/null
+++ b/nixos/terminal_workspace/default.nix
@@ -0,0 +1,6 @@
+{ config, pkgs, terminalworkspace, ... }:
+{
+ imports =
+ (if terminalworkspace.tmux then [ ./tmux.nix ] else []) ++
+ (if terminalworkspace].zellij then [ ./zellij.nix ] else []);
+}
diff --git a/nixos/terminal_workspace/tmux.nix b/nixos/terminal_workspace/tmux.nix
new file mode 100644
index 0000000..fa59ec4
--- /dev/null
+++ b/nixos/terminal_workspace/tmux.nix
@@ -0,0 +1,13 @@
+{ config, pkgs, ... }:
+{
+ programs.tmux.enable = true;
+ programs.tmux.plugins = with pkgs.tmuxPlugins; [
+ sensible
+ vim-tmux-navigator
+ tmux-which-key
+ tmux-powerline
+ tmux-fzf
+ gruvbox
+ yank
+ ];
+}
diff --git a/nixos/terminal_workspace/zellij.nix b/nixos/terminal_workspace/zellij.nix
new file mode 100644
index 0000000..549fe9f
--- /dev/null
+++ b/nixos/terminal_workspace/zellij.nix
@@ -0,0 +1,6 @@
+{ config, pkgs, ... }:
+{
+ environment.systemPackages = with pkgs; [
+ zellij
+ ];
+}