dotfiles/modules/nixos/services/printing/default.nix
alejandro-angulo b9b996bd66
Cleanup
Addressed some things nixd complained about
2024-08-03 10:32:02 -07:00

21 lines
347 B
Nix

{
config,
lib,
...
}: let
cfg = config.aa.apps.steam;
in {
options.aa.services.printing = with lib; {
enable = mkEnableOption "printing";
};
config = lib.mkIf cfg.enable {
# Setup printing over the network
services.printing.enable = true;
services.avahi = {
enable = true;
nssmdns4 = true;
};
};
}