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;