nixos-config/nixos/components/terminal/default.nix

31 lines
539 B
Nix
Raw Normal View History

2023-07-10 22:32:56 +02:00
{ config, pkgs, lib, ... }:
2023-05-28 20:22:23 +02:00
with lib;
{
options.components.terminal = {
enable = mkOption {
type = types.bool;
default = true;
};
2023-05-28 20:22:23 +02:00
};
imports = [
./direnv.nix
./git.nix
2023-10-23 03:10:07 +02:00
./heygpt.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
./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
};
}