mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
fix(nix): tmux calls correct fish, reload hack
This commit is contained in:
parent
0b1cd71f58
commit
d6afc7ecf5
2 changed files with 7 additions and 8 deletions
|
|
@ -1,8 +1,14 @@
|
|||
{pkgs, ...}: {
|
||||
home.file = {
|
||||
tmux = {
|
||||
source = ./tmux.conf;
|
||||
target = ".tmux.conf";
|
||||
text =
|
||||
builtins.readFile ./tmux.conf
|
||||
+ ''
|
||||
set -g default-command "${pkgs.fish}/bin/fish" # Use fish
|
||||
set -g default-shell "${pkgs.fish}/bin/fish"
|
||||
bind r source-file "~/.dotfiles/nix/home/common/tmux/default.nix" \; display-message "tmux.conf reloaded."
|
||||
'';
|
||||
};
|
||||
};
|
||||
home.packages = [pkgs.tmux];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue