tomate: fix printing
This commit is contained in:
parent
1d4da79c16
commit
d30e35cd8f
|
@ -60,22 +60,28 @@
|
||||||
# Configure console keymap
|
# Configure console keymap
|
||||||
console.keyMap = "de";
|
console.keyMap = "de";
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
|
||||||
services.printing.enable = true;
|
|
||||||
services.printing.defaultShared = true;
|
|
||||||
services.printing.browsing = true;
|
|
||||||
# sollte auf nur fsr netz beschränkt werden sobald die tomate mal nach außen zeigt
|
|
||||||
services.printing.allowFrom = [ "all" ];
|
|
||||||
|
|
||||||
# services.avahi = {
|
|
||||||
# enable = true;
|
services.printing = {
|
||||||
# nssmdns = true;
|
enable = true;
|
||||||
# openFirewall = true;
|
stateless = true;
|
||||||
# publish = {
|
drivers = with pkgs; [ cups-kyocera ];
|
||||||
# enable = true;
|
browsing = true;
|
||||||
# userServices = true;
|
defaultShared = true;
|
||||||
# };
|
# todo fix
|
||||||
# };
|
allowFrom = [ "all" ];
|
||||||
|
listenAddresses = [ "0.0.0.0:631" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
services.avahi = {
|
||||||
|
enable = true;
|
||||||
|
nssmdns = true;
|
||||||
|
openFirewall = true;
|
||||||
|
publish = {
|
||||||
|
enable = true;
|
||||||
|
userServices = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
allowedTCPPorts = [ 631 ];
|
allowedTCPPorts = [ 631 ];
|
||||||
allowedUDPPorts = [ 631 ];
|
allowedUDPPorts = [ 631 ];
|
||||||
|
|
Loading…
Reference in a new issue