nix-config/modules/apps/terminal.nix
2025-03-11 09:13:27 +01:00

50 lines
851 B
Nix

{
inputs,
outputs,
lib,
config,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf mkOption types;
cfg = config.horseman.apps.terminal;
homeCfg = config.horseman;
in {
options = {
horseman.apps.terminal = {
enable = mkEnableOption "Apps that run only in terminal without a GUI";
};
};
config = mkIf cfg.enable {
home-manager.users.${homeCfg.username} = {
imports = [./terminal/neovim.nix];
};
services.lorri.enable = true;
environment.systemPackages = with pkgs; [
direnv
docker-compose
ethtool
file
fzf
btop
gnupg
neofetch
sops
sxiv
termdown
tmux
unzip
wakeonlan
];
environment.sessionVariables = rec {
TERM = "kitty";
};
# Docker
virtualisation.docker.enable = true;
};
}