From 18fc9261a3475b7c6b40101438943c9e941a27bc Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Fri, 2 Feb 2024 02:51:18 +0100 Subject: [PATCH] Add debug trace --- hosts/nixos/lapetus/services/intray.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/nixos/lapetus/services/intray.nix b/hosts/nixos/lapetus/services/intray.nix index f339b19..2972a4f 100644 --- a/hosts/nixos/lapetus/services/intray.nix +++ b/hosts/nixos/lapetus/services/intray.nix @@ -14,7 +14,10 @@ in ({ lib, pkgs, config, ... }: # NOTE: using `pkgs.system` before `module.options` is evaluated # leads to infinite recursion! - let m = inputs.intray.nixosModules.x86_64-linux.default { inherit lib pkgs config; }; + let + m = inputs.intray.nixosModules.x86_64-linux.default { inherit lib pkgs config; }; + + b = lib.traceVal m; in { inherit (m) options;