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;
|
2024-02-06 04:30:30 +00:00
|
|
|
nssmdns4 = true;
|
2023-03-25 16:17:58 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|