diff options
| author | triethyl <triethylammonium@pm.me> | 2025-09-02 15:21:50 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-09-02 15:21:50 -0400 |
| commit | a6f9533790b9bfb73f1e531fcef6303642e38983 (patch) | |
| tree | 23ed9d5386175afd47023ded1f3bf8664ee53288 | |
| parent | ce6edbe1ce9eb9ac39a7072da8038831feb1f797 (diff) | |
homelab: started creating homelab
| -rw-r--r-- | docs/home-server.md | 5 | ||||
| -rw-r--r-- | nixos/modules/default.nix | 1 | ||||
| -rw-r--r-- | nixos/modules/homelab/cloud/default.nix | 1 | ||||
| -rw-r--r-- | nixos/modules/homelab/cloud/syncthing.nix | 8 | ||||
| -rw-r--r-- | nixos/modules/homelab/core/default.nix | 1 | ||||
| -rw-r--r-- | nixos/modules/homelab/default.nix | 11 |
6 files changed, 25 insertions, 2 deletions
diff --git a/docs/home-server.md b/docs/home-server.md index 3810928..ccf8b2a 100644 --- a/docs/home-server.md +++ b/docs/home-server.md @@ -4,7 +4,7 @@ ## Programs: -Categories: +### Categories: - core: Uncontainerized services like ssh, backups, and caddy. - cloud: File storage services like syncthing. @@ -12,7 +12,8 @@ Categories: - game: Game servers like minecraft. - media: Media services like calibre-web, invidious, and plex. - network: Networking services like Wireguard, firewall, etc. -### Services + +### Services: #### Uncontainerized: 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"; + }; +} |
