diff options
Diffstat (limited to 'modules/cups.nix')
-rw-r--r-- | modules/cups.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/cups.nix b/modules/cups.nix new file mode 100644 index 0000000..39f8434 --- /dev/null +++ b/modules/cups.nix @@ -0,0 +1,9 @@ +{ lib, config, ... }: { + options = { + cups.enable = lib.mkEnableOption "enables printing"; + }; + + config = lib.mkIf config.cups.enable { + services.printing.enable = true; + }; +} |