restructure
This commit is contained in:
parent
836da5123e
commit
d0f9c504e3
6 changed files with 10 additions and 12 deletions
60
modules/apps/terminal/default.nix
Normal file
60
modules/apps/terminal/default.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue