nix-dotfiles/snippets/defaults.nix
vorboyvo a5349ca647 Did A BUNCH of semantic refactoring.
Added i3blocks config; not active.
2024-12-04 12:53:29 -05:00

32 lines
721 B
Nix

{ lib, pkgs, ... } :
with lib;
{
options.defaultPrograms = {
terminal = mkOption {
type = types.nullOr types.package;
default = null;
description = "Terminal emulator";
example = pkgs.alacritty;
};
editor = mkOption {
type = types.nullOr types.package;
default = null;
description = "Text editor";
example = pkgs.kakoune;
};
browser = mkOption {
type = types.nullOr types.package;
default = null;
description = "Web browser";
example = pkgs.firefox;
};
mail = mkOption {
type = types.nullOr types.package;
default = null;
description = "Email client";
example = pkgs.thunderbird;
};
};
}