cleanup and fix borg on vaniville
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
cfg = config.homelab.nomad;
|
||||
in {
|
||||
options.homelab.nomad = {
|
||||
enable = lib.mkEnableOption "enable in house project nomad";
|
||||
tz = lib.mkOption {
|
||||
default = "America/Chicago";
|
||||
type = lib.types.str;
|
||||
description = "set timezone";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
# the order determines the order in glance :3
|
||||
imports = [
|
||||
./kiwix
|
||||
./maps
|
||||
./kolibri
|
||||
];
|
||||
homelab.kiwix.enable = lib.mkDefault true;
|
||||
homelab.maps.enable = lib.mkDefault true;
|
||||
homelab.kolibri.enable = lib.mkDefault true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user