2024-08-29 03:26:04 +02:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
2023-05-28 20:22:23 +02:00
|
|
|
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-10-23 03:10:07 +02:00
|
|
|
./heygpt.nix
|
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 {
|
2023-07-10 22:32:56 +02:00
|
|
|
environment.systemPackages = [
|
2023-08-31 11:50:58 +02:00
|
|
|
pkgs.ranger # datei browser
|
|
|
|
pkgs.retry # retry command till success
|
2023-12-22 20:28:52 +01:00
|
|
|
pkgs.silver-searcher
|
|
|
|
pkgs.treefmt
|
2023-07-10 22:32:56 +02:00
|
|
|
];
|
2023-05-28 20:22:23 +02:00
|
|
|
};
|
|
|
|
}
|