mirror of
https://github.com/nix-community/home-manager
synced 2024-11-24 03:59:46 +01:00
28 lines
519 B
Nix
28 lines
519 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
config = {
|
||
|
programs.tmux = {
|
||
|
enable = true;
|
||
|
shortcut = "a";
|
||
|
prefix = null;
|
||
|
};
|
||
|
|
||
|
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 \
|
||
|
${./shortcut-without-prefix.conf}
|
||
|
'';
|
||
|
};
|
||
|
}
|