From 543fcc38c9c48349d6988b1ace119f0cef2d6efa Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 9 Dec 2023 09:15:23 -0800 Subject: delete even more unused configurations --- modules/homelab/default.nix | 4 ---- modules/homelab/domain.nix | 17 ----------------- 2 files changed, 21 deletions(-) delete mode 100644 modules/homelab/default.nix delete mode 100644 modules/homelab/domain.nix (limited to 'modules/homelab') 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; - }; -} -- cgit v1.2.3