mirror of
https://github.com/nix-community/home-manager
synced 2024-11-15 07:39:46 +01:00
797c77a00a
This replaces some derivation outputs by simple strings rather than full Nix store paths. This removes the need to download the whole derivation when all we need is a static string.
28 lines
542 B
Nix
28 lines
542 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = {
|
|
programs.tmux = {
|
|
enable = true;
|
|
disableConfirmationPrompt = true;
|
|
};
|
|
|
|
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 \
|
|
${./disable-confirmation-prompt.conf}
|
|
'';
|
|
};
|
|
}
|