mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
users/nixos/programs/terminal-multiplexer: init
This commit is contained in:
parent
c2d000d09b
commit
344a1667a4
@ -3,6 +3,10 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
imports = [ ./modules ];
|
||||||
|
|
||||||
|
users.nixos.programs.terminal-multiplexer.enable = true;
|
||||||
|
|
||||||
suites = {
|
suites = {
|
||||||
dev = {
|
dev = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
5
configs/home-manager/nixos/modules/default.nix
Normal file
5
configs/home-manager/nixos/modules/default.nix
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./programs/terminal-multiplexer.nix
|
||||||
|
];
|
||||||
|
}
|
@ -0,0 +1,22 @@
|
|||||||
|
# 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user