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

@ -1,21 +0,0 @@
{
lib,
config,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.apps.server;
in {
options = {
horseman.apps.server = {
enable = mkEnableOption "Apps that only need to be installed on servers";
};
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
certbot
];
};
}