nix-conf/user/options.nix
2024-11-11 13:44:09 -06:00

38 lines
1 KiB
Nix

{lib, ...}: {
options.u = {
tmux = {
plugins = lib.mkOption {
type = lib.types.listOf lib.types.package;
description = "tmux plugins to source in config";
};
extraConfig = lib.mkOption {
type = lib.types.lines;
description = "extra config to append to bottom of config";
default = "";
};
};
bookmarks = lib.mkOption {
type = lib.types.listOf (lib.types.submodule {
options = {
href = lib.mkOption {
type = lib.types.str;
description = "link of the bookmark";
example = "file:///tmp";
};
name = lib.mkOption {
type = lib.types.str;
description = "name of the bookmark";
example = "tmp";
};
icon = lib.mkOption {
type = lib.types.str;
description = "icon name of the bookmark";
example = "folder-temp";
};
};
});
description = "list of file manager bookmarks";
};
};
}