Apps: replace Tmux with Zellij
This commit is contained in:
parent
0f1bda9859
commit
21c3e5cb51
|
@ -91,8 +91,6 @@ in
|
||||||
# https://nixos.org/manual/nixpkgs/stable/#sec-allow-unfree
|
# https://nixos.org/manual/nixpkgs/stable/#sec-allow-unfree
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
|
|
||||||
apps.tmux.enable = true;
|
|
||||||
|
|
||||||
# Enable Secure Boot support.
|
# Enable Secure Boot support.
|
||||||
bootloader = {
|
bootloader = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -15,7 +15,6 @@ in
|
||||||
networking.hostName = hostName;
|
networking.hostName = hostName;
|
||||||
|
|
||||||
aux.system = {
|
aux.system = {
|
||||||
apps.tmux.enable = true;
|
|
||||||
bootloader.enable = false; # Bootloader configured in hardware-configuration.nix
|
bootloader.enable = false; # Bootloader configured in hardware-configuration.nix
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
libraspberrypi
|
libraspberrypi
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
{ config, lib, ... }:
|
|
||||||
|
|
||||||
let
|
|
||||||
cfg = config.aux.system.apps.tmux;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
options = {
|
|
||||||
aux.system.apps.tmux.enable = lib.mkEnableOption "Enables tmux - terminal multiplexer";
|
|
||||||
};
|
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
|
||||||
programs.tmux = {
|
|
||||||
enable = true;
|
|
||||||
newSession = true;
|
|
||||||
clock24 = true;
|
|
||||||
extraConfig = ''
|
|
||||||
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -16,6 +16,7 @@
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
fastfetch # Show a neat system statistics screen when opening a terminal
|
fastfetch # Show a neat system statistics screen when opening a terminal
|
||||||
nh # Nix Helper: https://github.com/viperML/nh
|
nh # Nix Helper: https://github.com/viperML/nh
|
||||||
|
zellij # Terminal multiplexer
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue