nixos-systems/modules/system/tmux.nix

15 lines
354 B
Nix
Raw Normal View History

{ config, lib, pkgs, configFiles, ... }:
with lib;
{
environment.systemPackages = [ pkgs.tmux ];
environment.etc."tmux.conf".source = "${configFiles}/tmux/tmux.conf";
# Alternative: if you want per-user configs
# users.users = mkMerge (map (user: {
# ${user}.home = "${configPath}/configs/tmux/tmux.conf";
# }) config.myModules.tmux.users);
}