nixcfg/modules/nixos/desktop/addons/term/default.nix
2024-01-11 10:31:04 +00:00

15 lines
395 B
Nix

{ 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 ]; };
}