From 4981b0789a14450208a475fdd6b057e7dd278f8b Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 10 Aug 2024 00:08:10 +0200 Subject: [PATCH] fixup! cluster/services/incandescence: init --- cluster/services/incandescence/provider-options.nix | 4 ++++ cluster/services/incandescence/provider.nix | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cluster/services/incandescence/provider-options.nix b/cluster/services/incandescence/provider-options.nix index e51a76d..9cc652d 100644 --- a/cluster/services/incandescence/provider-options.nix +++ b/cluster/services/incandescence/provider-options.nix @@ -16,6 +16,10 @@ in type = listOf str; }; + partOf = mkOption { + type = listOf str; + }; + wants = mkOption { type = listOf str; default = [ ]; diff --git a/cluster/services/incandescence/provider.nix b/cluster/services/incandescence/provider.nix index 8c4241a..b3fa989 100644 --- a/cluster/services/incandescence/provider.nix +++ b/cluster/services/incandescence/provider.nix @@ -117,8 +117,7 @@ in name = "incandescence-${provider}"; value = { description = "An Incandescence | ${provider}"; - inherit (providerConfig) wantedBy; - partOf = providerConfig.wantedBy; + inherit (providerConfig) wantedBy partOf; }; }) cfg.providers;