restructure
This commit is contained in:
parent
836da5123e
commit
d0f9c504e3
6 changed files with 10 additions and 12 deletions
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue