24 lines
373 B
Nix
24 lines
373 B
Nix
{
|
|
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;
|
|
};
|
|
};
|
|
}
|