feat(printing): enable printer autodiscovery
Only if printing itself is enabled (which is enabled for all my computers, but not my servers).
This commit is contained in:
parent
ac6daaa379
commit
2e6821f878
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue