started migration to snowfall
This commit is contained in:
parent
091438d802
commit
5ba5d55108
100 changed files with 49 additions and 32 deletions
23
_modules/home/shell/toolset/zellij.nix
Normal file
23
_modules/home/shell/toolset/zellij.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ config, lib, pkgs, user, ... }:
|
||||
let
|
||||
inherit (lib.modules) mkIf;
|
||||
inherit (lib.options) mkEnableOption;
|
||||
in
|
||||
{
|
||||
options.modules.${user}.shell.toolset.zellij = {
|
||||
enable = mkEnableOption "terminal multiplexer";
|
||||
};
|
||||
|
||||
config = mkIf config.modules.${user}.shell.toolset.zellij.enable {
|
||||
home-manager.users.${user} = {
|
||||
home.packages = with pkgs; [ zellij ];
|
||||
|
||||
programs.zellij = {
|
||||
enable = true;
|
||||
attachExistingSession = true;
|
||||
|
||||
settings = {};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue