nixcfg/modules/nixos/desktop/addons/term/default.nix

15 lines
395 B
Nix
Raw Normal View History

2024-01-11 11:26:46 +01:00
{ options, config, lib, pkgs, ... }:
with lib;
with lib.plusultra;
let cfg = config.plusultra.desktop.addons.term;
in
{
options.plusultra.desktop.addons.term = with types; {
enable = mkBoolOpt false "Whether to enable the gnome file manager.";
pkg = mkOpt package pkgs.foot "The terminal to install.";
};
config = mkIf cfg.enable { environment.systemPackages = [ cfg.pkg ]; };
}