mirror of
https://github.com/tboerger/nixos-config
synced 2025-02-21 23:21:08 +01:00
29 lines
392 B
Nix
29 lines
392 B
Nix
{ pkgs, lib, config, options, ... }:
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.profile.programs.terminal;
|
|
|
|
in
|
|
{
|
|
options = {
|
|
profile = {
|
|
programs = {
|
|
terminal = {
|
|
enable = mkEnableOption "Terminal";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
home = {
|
|
packages = with pkgs; [
|
|
blackbox
|
|
wezterm
|
|
zellij
|
|
];
|
|
};
|
|
};
|
|
}
|