mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 15:09:46 +01:00
27 lines
460 B
Nix
27 lines
460 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;
|
|
shell = "/usr/bin/myshell";
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.tmux.conf
|
|
assertFileContent home-files/.tmux.conf \
|
|
${substituteExpected ./default-shell.conf}
|
|
'';
|
|
};
|
|
}
|