mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 21:23:38 +00:00
29 lines
475 B
Nix
29 lines
475 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
let
|
||
|
|
||
|
substituteExpected = path: pkgs.substituteAll {
|
||
|
src = path;
|
||
|
|
||
|
sensible_rtp = pkgs.tmuxPlugins.sensible.rtp;
|
||
|
};
|
||
|
|
||
|
in
|
||
|
|
||
|
{
|
||
|
config = {
|
||
|
programs.tmux = {
|
||
|
enable = true;
|
||
|
disableConfirmationPrompt = true;
|
||
|
};
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileExists home-files/.tmux.conf
|
||
|
assertFileContent home-files/.tmux.conf \
|
||
|
${substituteExpected ./disable-confirmation-prompt.conf}
|
||
|
'';
|
||
|
};
|
||
|
}
|