dotfiles/modules/nixos/services/printing/default.nix

24 lines
373 B
Nix
Raw Normal View History

2023-03-25 16:17:58 +00:00
{
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.aa.apps.steam;
in {
options.aa.services.printing = with types; {
enable = mkEnableOption "printing";
};
config = mkIf cfg.enable {
# Setup printing over the network
services.printing.enable = true;
services.avahi = {
enable = true;
nssmdns = true;
};
};
}