mirror of
https://github.com/nix-community/home-manager
synced 2024-11-18 17:19:45 +01:00
2093cf425f
See #575 for discussion.
30 lines
541 B
Nix
30 lines
541 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
substituteExpected = path: pkgs.substituteAll {
|
|
src = path;
|
|
|
|
sensible_rtp = pkgs.tmuxPlugins.sensible.rtp;
|
|
};
|
|
|
|
in {
|
|
config = {
|
|
programs.tmux = {
|
|
aggressiveResize = true;
|
|
clock24 = true;
|
|
enable = true;
|
|
keyMode = "vi";
|
|
newSession = true;
|
|
reverseSplit = true;
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.tmux.conf
|
|
assertFileContent home-files/.tmux.conf \
|
|
${substituteExpected ./vi-all-true.conf}
|
|
'';
|
|
};
|
|
}
|