mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-01 17:13:53 +00:00
14 lines
280 B
Nix
14 lines
280 B
Nix
{ lib, config, True, ... }:
|
|
|
|
with lib;
|
|
|
|
let cfg = config.module.services.printing;
|
|
in {
|
|
options = { module.services.printing = { enable = mkEnableOption ""; }; };
|
|
|
|
config = mkIf cfg.enable {
|
|
services.printing = True // { drivers = with pkgs; [ epson_201207w ]; };
|
|
};
|
|
}
|
|
|