refactoring to more granular flakes and modules
This commit is contained in:
parent
6570da6f33
commit
50825c9b84
52 changed files with 2501 additions and 9 deletions
19
flakes/common/nix_modules/tmux/default.nix
Normal file
19
flakes/common/nix_modules/tmux/default.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.tmux
|
||||
];
|
||||
|
||||
environment.shellAliases = {
|
||||
tat = "tmux attach-session";
|
||||
t = "tmux";
|
||||
};
|
||||
|
||||
environment.shellInit = lib.concatStringsSep "\n\n" [
|
||||
(builtins.readFile ./tmux_helpers.sh)
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue