1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-01 19:03:53 +00:00
ultima/modules/nixos/services/printing/default.nix

25 lines
307 B
Nix

{
x,
lib,
config,
...
}:
with lib;
with x;
let
cfg = config.module.services.printing;
in
{
options = {
module.services.printing = {
enable = mkBool;
};
};
config = mkIf cfg.enable {
services.printing = True // {
drivers = with pkgs; [ epson_201207w ];
};
};
}