From e52025789404ad47678bba038372af970f8ca62f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20K=C3=A4nner?= Date: Sat, 28 Dec 2024 22:07:06 +0100 Subject: [PATCH] use enable option --- modules/nixos/cups.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nixos/cups.nix b/modules/nixos/cups.nix index d927d2f..ec2c818 100644 --- a/modules/nixos/cups.nix +++ b/modules/nixos/cups.nix @@ -10,7 +10,7 @@ in { enable = lib.mkEnableOption "printing"; }; - config = { + config = lib.mkIf cfg.enable { # Enable CUPS to print documents. services.printing = { enable = true;