diff --git a/system/default.nix b/system/default.nix index 2377042..02a515c 100644 --- a/system/default.nix +++ b/system/default.nix @@ -73,6 +73,13 @@ in builtins.attrNames keysFromGithub ); + # Enable printer autodiscovery if printing is enabled + services.avahi = { + enable = config.services.printing.enable; + nssmdns4 = true; + openFirewall = true; + }; + # Default shell programs.zsh.enable = true; users.defaultUserShell = pkgs.zsh;