18 lines
445 B
Nix
18 lines
445 B
Nix
{ outputs, options, config, lib, pkgs, ... }:
|
|
let cfg = config.modules.shell.tmux;
|
|
in {
|
|
options.modules.shell.tmux = { enable = lib.mkEnableOption false; };
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [ tmux ];
|
|
|
|
home-manager.users.sako = { pkgs, ... }: {
|
|
home.file = {
|
|
".tmux.conf" = {
|
|
enable = true;
|
|
source = ../../../config/tmux.conf;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|