mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 22:57:55 +00:00
23 lines
479 B
Nix
23 lines
479 B
Nix
# Very useful for non-graphical installers.
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
userCfg = config.users.nixos;
|
|
cfg = userCfg.programs.terminal-multiplexer;
|
|
in
|
|
{
|
|
options.users.nixos.programs.terminal-multiplexer.enable =
|
|
lib.mkEnableOption "terminal multiplexer";
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
programs.zellij = {
|
|
enable = true;
|
|
settings = {
|
|
mouse_mode = false;
|
|
copy_on_select = false;
|
|
pane_frames = false;
|
|
};
|
|
};
|
|
};
|
|
}
|