summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Minář <mic.liamg@gmail.com>2019-01-21 08:52:55 +0100
committerMichal Minář <mic.liamg@gmail.com>2019-01-21 09:10:11 +0100
commit17636ea630fecc0d87f1dd21769cc824c7ce291e (patch)
treed8007157a27c0ca5dc9510d26300f40391326472
parentcb5ac4b02857b36f947e37a8b2dfb73a9916170f (diff)
downloadrcs-17636ea630fecc0d87f1dd21769cc824c7ce291e.zip
rcs-17636ea630fecc0d87f1dd21769cc824c7ce291e.tar.gz
rcs-17636ea630fecc0d87f1dd21769cc824c7ce291e.tar.xz
tmuxinator: added nixos workspace
Signed-off-by: Michal Minář <mic.liamg@gmail.com>
-rw-r--r--.tmuxinator/nixos.yml54
1 files changed, 54 insertions, 0 deletions
diff --git a/.tmuxinator/nixos.yml b/.tmuxinator/nixos.yml
new file mode 100644
index 0000000..f8101a2
--- /dev/null
+++ b/.tmuxinator/nixos.yml
@@ -0,0 +1,54 @@
+# ~/.tmuxinator/nixos.yml
+
+name: nixos
+root: ~/wsp/nixos/
+
+# Optional tmux socket
+# socket_name: foo
+
+# Runs before everything. Use it to start daemons etc.
+# pre: sudo /etc/rc.d/mysqld start
+
+# Project hooks
+# Runs on project start, always
+# on_project_start: command
+# Run on project start, the first time
+# on_project_first_start: command
+# Run on project start, after the first time
+# on_project_restart: command
+# Run on project exit ( detaching from tmux session )
+# on_project_exit: command
+# Run on project stop
+# on_project_stop: command
+
+# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
+# pre_window: rbenv shell 2.0.0-p247
+
+# Pass command line options to tmux. Useful for specifying a different tmux.conf.
+# tmux_options: -f ~/.tmux.mac.conf
+
+# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
+# tmux_command: byobu
+
+# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
+# startup_window: editor
+
+# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
+# startup_pane: 1
+
+# Controls whether the tmux session should be attached to automatically. Defaults to true.
+# attach: false
+
+# Runs after everything. Use it to attach to tmux with custom options etc.
+# post: tmux -CC attach -t nixos
+
+windows:
+ - mounter:
+ layout: main-vertical
+ # Synchronize all panes of this window, can be enabled before or after the pane commands run.
+ # 'before' represents legacy functionality and will be deprecated in a future release, in favour of 'after'
+ # synchronize: after
+ panes:
+ - cd nixosmounter; vim configuration.nix
+ - pkgs: cd nixpkgs; vim ./
+ - pkgs-shell: cd nixpkgs