use enable option

This commit is contained in:
Max Känner 2024-12-28 22:07:06 +01:00
parent 222368696b
commit e520257894

View File

@ -10,7 +10,7 @@ in {
enable = lib.mkEnableOption "printing";
};
config = {
config = lib.mkIf cfg.enable {
# Enable CUPS to print documents.
services.printing = {
enable = true;