From 36b01f623e962c9da88d8fa2de9db3df61541701 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=A9clairevoyant?= <848000+eclairevoyant@users.noreply.github.com> Date: Sat, 30 Aug 2025 09:10:56 -0400 Subject: [PATCH] nixos/cups-pdf: fix settings type --- nixos/modules/services/printing/cups-pdf.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/nixos/modules/services/printing/cups-pdf.nix b/nixos/modules/services/printing/cups-pdf.nix index ccb5f4963e9c..25c5fb8a89b1 100644 --- a/nixos/modules/services/printing/cups-pdf.nix +++ b/nixos/modules/services/printing/cups-pdf.nix @@ -42,12 +42,14 @@ let instanceSettings = name: { freeformType = with lib.types; - nullOr (oneOf [ - int - str - path - package - ]); + attrsOf ( + nullOr (oneOf [ + int + str + path + package + ]) + ); # override defaults: # inject instance name into paths, # also avoid conflicts between user names and special dirs