2023-03-25 16:17:58 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
2024-08-03 17:32:02 +00:00
|
|
|
}: let
|
2023-03-25 16:17:58 +00:00
|
|
|
cfg = config.aa.apps.steam;
|
|
|
|
in {
|
2024-08-03 17:32:02 +00:00
|
|
|
options.aa.services.printing = with lib; {
|
2023-03-25 16:17:58 +00:00
|
|
|
enable = mkEnableOption "printing";
|
|
|
|
};
|
|
|
|
|
2024-08-03 17:32:02 +00:00
|
|
|
config = lib.mkIf cfg.enable {
|
2023-03-25 16:17:58 +00:00
|
|
|
# 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
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|