2023-05-28 20:22:23 +02:00
|
|
|
{ pkgs, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
options.components.terminal = {
|
2023-06-30 22:10:42 +02:00
|
|
|
enable = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
default = true;
|
|
|
|
};
|
2023-05-28 20:22:23 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
./direnv.nix
|
2023-06-30 22:10:42 +02:00
|
|
|
./git.nix
|
2023-05-28 20:22:23 +02:00
|
|
|
./hoard.nix
|
2023-07-01 00:20:03 +02:00
|
|
|
./oh-my-posh
|
2023-05-28 20:22:23 +02:00
|
|
|
./remote-install.nix
|
|
|
|
./wtf.nix
|
2023-06-30 22:10:42 +02:00
|
|
|
./zsh.nix
|
2023-05-28 20:22:23 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
config = mkIf config.components.terminal.enable {
|
|
|
|
# todo extract xorg stuff to prepare wayland
|
|
|
|
};
|
|
|
|
}
|