1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-26 07:43:45 +01:00
github.com-tboerger-nixos-c.../shared/services/printing.nix

28 lines
385 B
Nix
Raw Normal View History

{ pkgs, lib, config, options, ... }:
with lib;
let
cfg = config.personal.services.printing;
in
{
options = {
personal = {
services = {
printing = {
enable = mkEnableOption "Printing";
};
};
};
};
config = mkIf cfg.enable {
services = {
printing = {
enable = true;
drivers = [ ];
};
};
};
}