36 lines
618 B
Nix
36 lines
618 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 = {
|
|
home-manager.users.${homeCfg.username} = {
|
|
imports = [./terminal/neovim.nix];
|
|
};
|
|
|
|
services.lorri.enable = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
gnupg
|
|
neofetch
|
|
sops
|
|
sxiv
|
|
termdown
|
|
unzip
|
|
wakeonlan
|
|
];
|
|
};
|
|
}
|