restructure

This commit is contained in:
KoenDR06 2025-09-15 19:19:42 +02:00
parent 836da5123e
commit d0f9c504e3
6 changed files with 10 additions and 12 deletions

View file

@ -0,0 +1,60 @@
{
lib,
config,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.apps.terminal;
homeCfg = config.horseman;
in {
options = {
horseman.apps.terminal = {
enable = mkEnableOption "Apps that run only in terminal without a GUI";
};
};
imports = [
./zsh.nix
];
config = mkIf cfg.enable {
home-manager.users.${homeCfg.username} = {
imports = [./helix.nix];
};
environment.variables = {
EDITOR = "hx";
TERM = "kitty";
};
services.lorri.enable = true;
environment.systemPackages = with pkgs; [
bat
cowsay
direnv
docker-compose
ethtool
file
fzf
gcc
btop
gnupg
neofetch
nodejs_22
pandoc
sops
sxiv
termdown
texliveTeTeX
tmux
unzip
wakeonlan
zip
];
# Docker
virtualisation.docker.enable = true;
};
}