os/hosts/pie/printing.nix

18 lines
244 B
Nix

{
flake,
config,
pkgs,
lib,
...
}: {
services.caddy = {
enable = true;
extraConfig = ''
cups.b12f.io:80 {
request_header Host localhost:631
reverse_proxy unix//run/cups/cups.sock
}
'';
};
}