tmux-sessionizer: formatting

sh-initrd-on-root
Zynh Ludwig 2024-08-09 00:59:51 -07:00
parent ab7ae9e503
commit eed13824b8
1 changed files with 19 additions and 21 deletions

View File

@ -9,29 +9,27 @@ let
enable = cfg.enable && tmuxCfg.enable; enable = cfg.enable && tmuxCfg.enable;
in in
{ {
options = { options.snowhawk.tmux.sessionizer = {
snowhawk.tmux.sessionizer = { enable = lib.mkEnableOption "tmux-sessionizer home-manager module";
enable = lib.mkEnableOption "tmux-sessionizer home-manager module";
paths = lib.mkOption { paths = lib.mkOption {
type = with lib.types; listOf str; type = with lib.types; listOf str;
description = '' description = ''
list of paths to select with tmux-sessionizer list of paths to select with tmux-sessionizer
''; '';
default = [ ]; default = [ ];
example = [ example = [
"~" "~"
"~/projects" "~/projects"
"~/src" "~/src"
]; ];
}; };
pkg = lib.mkOption { pkg = lib.mkOption {
type = lib.types.package; type = lib.types.package;
description = '' description = ''
tmux-sessionizer binary package tmux-sessionizer binary package
''; '';
};
}; };
}; };