diff options
Diffstat (limited to '')
| -rw-r--r-- | modules/homelab/default.nix | 4 | ||||
| -rw-r--r-- | modules/homelab/domain.nix | 17 |
2 files changed, 0 insertions, 21 deletions
diff --git a/modules/homelab/default.nix b/modules/homelab/default.nix deleted file mode 100644 index d60b99f..0000000 --- a/modules/homelab/default.nix +++ /dev/null @@ -1,4 +0,0 @@ -{ ... }: -{ - imports = [ ./domain.nix ]; -} diff --git a/modules/homelab/domain.nix b/modules/homelab/domain.nix deleted file mode 100644 index 2f0acfa..0000000 --- a/modules/homelab/domain.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ lib, config, self, ... }: -let - inherit (builtins) readFile fromTOML; -in -{ - options = with lib; { - homelab.domain = mkOption { - type = types.str; - default = null; - description = "Domain"; - }; - }; - - config = { - homelab.domain = (fromTOML (readFile "${self}/configs/homelab.toml")).domain; - }; -} |
