summaryrefslogtreecommitdiff
path: root/nixos/modules/homelab
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/homelab')
-rw-r--r--nixos/modules/homelab/cloud/default.nix1
-rw-r--r--nixos/modules/homelab/cloud/syncthing.nix8
-rw-r--r--nixos/modules/homelab/core/default.nix1
-rw-r--r--nixos/modules/homelab/default.nix11
4 files changed, 21 insertions, 0 deletions
diff --git a/nixos/modules/homelab/cloud/default.nix b/nixos/modules/homelab/cloud/default.nix
new file mode 100644
index 0000000..d4ee9df
--- /dev/null
+++ b/nixos/modules/homelab/cloud/default.nix
@@ -0,0 +1 @@
+{config, pkgs, lib, ...}: {}
diff --git a/nixos/modules/homelab/cloud/syncthing.nix b/nixos/modules/homelab/cloud/syncthing.nix
new file mode 100644
index 0000000..993cf42
--- /dev/null
+++ b/nixos/modules/homelab/cloud/syncthing.nix
@@ -0,0 +1,8 @@
+{config, pkgs, lib, ...}: let
+ cfg = config.homelab.cloud.syncthing;
+in {
+ options.homelab.cloud.syncthing = {
+ enable = lib.mkEnableOption "syncthing";
+
+ };
+}
diff --git a/nixos/modules/homelab/core/default.nix b/nixos/modules/homelab/core/default.nix
new file mode 100644
index 0000000..d4ee9df
--- /dev/null
+++ b/nixos/modules/homelab/core/default.nix
@@ -0,0 +1 @@
+{config, pkgs, lib, ...}: {}
diff --git a/nixos/modules/homelab/default.nix b/nixos/modules/homelab/default.nix
new file mode 100644
index 0000000..5a9a97e
--- /dev/null
+++ b/nixos/modules/homelab/default.nix
@@ -0,0 +1,11 @@
+{config, pkgs, lib, ...}: let
+ cfg = config.homelab;
+in {
+ imports = [
+ ./core
+ ./cloud
+ ];
+ options.homelab = {
+ enable = lib.mkEnableOption "homelab";
+ };
+}