From 37a3bd0e87dea9ead154c57c2e5f0f74f4cd8df9 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Fri, 2 Feb 2024 02:48:45 +0100 Subject: [PATCH] Add mkif around intray patch --- hosts/nixos/lapetus/services/intray.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/nixos/lapetus/services/intray.nix b/hosts/nixos/lapetus/services/intray.nix index dd43e2c..08604bb 100644 --- a/hosts/nixos/lapetus/services/intray.nix +++ b/hosts/nixos/lapetus/services/intray.nix @@ -18,7 +18,7 @@ in in { inherit (m) options; - config.systemd = m.config.systemd; + config.systemd = lib.mkIf config.services.intray.production.enable m.config.systemd; }) ]; # }}}