1{ config, pkgs, lib, ... }:
2
3with lib;
4
5{
6
7 ###### interface
8
9 options = {
10
11 programs.system-config-printer = {
12
13 enable = mkEnableOption (lib.mdDoc "system-config-printer, a Graphical user interface for CUPS administration");
14
15 };
16
17 };
18
19
20 ###### implementation
21
22 config = mkIf config.programs.system-config-printer.enable {
23
24 environment.systemPackages = [
25 pkgs.system-config-printer
26 ];
27
28 services.system-config-printer.enable = true;
29
30 };
31
32}