ooknet/home/modules/options/profiles/console.nix

27 lines
541 B
Nix

{ lib, ... }:
let
inherit (lib) mkOption types;
inherit (types) nullOr enum;
in
{
options.ooknet.console = {
editor = mkOption {
type = nullOr (enum ["helix" "nvim"]);
default = "helix";
};
shell = mkOption {
type = nullOr (enum ["fish" "bash" "zsh"]);
default = "zsh";
};
multiplexer = mkOption {
type = nullOr (enum ["tmux" "zellij"]);
default = null;
};
fileManager = mkOption {
type = nullOr (enum ["yazi" "ranger" "lf"]);
default = null;
};
};
}