nixos-config/nixos/components/terminal/default.nix
2023-06-30 22:10:42 +02:00

24 lines
399 B
Nix

{ pkgs, lib, ... }:
with lib;
{
options.components.terminal = {
enable = mkOption {
type = types.bool;
default = true;
};
};
imports = [
./direnv.nix
./git.nix
./hoard.nix
./oh-my-posh.nix
./remote-install.nix
./wtf.nix
./zsh.nix
];
config = mkIf config.components.terminal.enable {
# todo extract xorg stuff to prepare wayland
};
}