2024-04-07 22:16:33 -04:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [./binaryCache ./reverseProxy ./nixContainers ./ociContainers ./samba];
|
2024-03-28 16:13:46 -04:00
|
|
|
|
|
|
|
options = {
|
2024-04-17 22:39:00 -04:00
|
|
|
alyraffauf.homeLab.enable = lib.mkEnableOption "Enables fully functional Home Lab.";
|
2024-03-28 16:13:46 -04:00
|
|
|
};
|
|
|
|
|
2024-04-17 22:39:00 -04:00
|
|
|
config = lib.mkIf config.alyraffauf.homeLab.enable {
|
|
|
|
alyraffauf.homeLab.binaryCache.enable = lib.mkDefault true;
|
|
|
|
alyraffauf.homeLab.nixContainers.enable = lib.mkDefault true;
|
|
|
|
alyraffauf.homeLab.ociContainers.enable = lib.mkDefault true;
|
|
|
|
alyraffauf.homeLab.reverseProxy.enable = lib.mkDefault true;
|
|
|
|
alyraffauf.homeLab.samba.enable = lib.mkDefault true;
|
2024-03-28 16:13:46 -04:00
|
|
|
};
|
2024-03-28 16:40:23 -04:00
|
|
|
}
|