dependency issues again

This commit is contained in:
twoneis 2025-03-15 00:51:08 +01:00
parent 7f4c6202f0
commit 862c2b904d
2 changed files with 7 additions and 1 deletions

View file

@ -5,7 +5,7 @@
... ...
}: let }: let
inherit (lib) mkIf; inherit (lib) mkIf;
cfg = config.conf.fedi; cfg = config.conf.fedi.iceshrimp;
iceshrimp = pkgs.callPackage ./iceshrimp.nix {}; iceshrimp = pkgs.callPackage ./iceshrimp.nix {};
in in
mkIf cfg.enable { mkIf cfg.enable {

View file

@ -155,6 +155,12 @@ in {
type = bool; type = bool;
default = conf.host == "server"; default = conf.host == "server";
}; };
iceshrimp = {
enable = mkOption {
type = bool;
default = conf.host == "server";
};
};
domain = { domain = {
full = mkOption { full = mkOption {
type = nullOr str; type = nullOr str;