27 lines
481 B
Nix
27 lines
481 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
config = {
|
||
|
programs.tmux = {
|
||
|
enable = true;
|
||
|
prefix = "C-a";
|
||
|
};
|
||
|
|
||
|
nixpkgs.overlays = [
|
||
|
(self: super: {
|
||
|
tmuxPlugins = super.tmuxPlugins // {
|
||
|
sensible = super.tmuxPlugins.sensible // { rtp = "@sensible_rtp@"; };
|
||
|
};
|
||
|
})
|
||
|
];
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileExists home-files/.tmux.conf
|
||
|
assertFileContent home-files/.tmux.conf \
|
||
|
${./prefix.conf}
|
||
|
'';
|
||
|
};
|
||
|
}
|