summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authortriethyl <triethylammonium@pm.me>2025-09-02 15:21:50 -0400
committertriethyl <triethylammonium@pm.me>2025-09-02 15:21:50 -0400
commita6f9533790b9bfb73f1e531fcef6303642e38983 (patch)
tree23ed9d5386175afd47023ded1f3bf8664ee53288 /nixos
parentce6edbe1ce9eb9ac39a7072da8038831feb1f797 (diff)
homelab: started creating homelab
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/default.nix1
-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
5 files changed, 22 insertions, 0 deletions
diff --git a/nixos/modules/default.nix b/nixos/modules/default.nix
index cd7e8d6..c484288 100644
--- a/nixos/modules/default.nix
+++ b/nixos/modules/default.nix
@@ -1,5 +1,6 @@
{...}: {
imports = [
./general-settings
+ ./homelab
];
}
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";
+ };
+}