51 lines
861 B
Nix
51 lines
861 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
|
|
gcc
|
|
btop
|
|
gnupg
|
|
neofetch
|
|
sops
|
|
sxiv
|
|
termdown
|
|
tmux
|
|
unzip
|
|
wakeonlan
|
|
];
|
|
|
|
environment.sessionVariables = rec {
|
|
TERM = "kitty";
|
|
};
|
|
|
|
# Docker
|
|
virtualisation.docker.enable = true;
|
|
};
|
|
}
|