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

28 lines
476 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-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-07-10 22:32:56 +02:00
];
2023-05-28 20:22:23 +02:00
};
}