diff --git a/modules/fedi/iceshrimp/default.nix b/modules/fedi/iceshrimp/default.nix index e062681..54b06e9 100644 --- a/modules/fedi/iceshrimp/default.nix +++ b/modules/fedi/iceshrimp/default.nix @@ -5,7 +5,7 @@ ... }: let inherit (lib) mkIf; - cfg = config.conf.fedi; + cfg = config.conf.fedi.iceshrimp; iceshrimp = pkgs.callPackage ./iceshrimp.nix {}; in mkIf cfg.enable { diff --git a/options.nix b/options.nix index 464c40e..a6cff24 100644 --- a/options.nix +++ b/options.nix @@ -155,6 +155,12 @@ in { type = bool; default = conf.host == "server"; }; + iceshrimp = { + enable = mkOption { + type = bool; + default = conf.host == "server"; + }; + }; domain = { full = mkOption { type = nullOr str;