printing: enable

This commit is contained in:
Rouven Seifert 2024-04-26 10:36:59 +02:00
parent 63d9cabcfb
commit 71c7cf31d2
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -1,13 +1,17 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [ cups ];
# services.printing = {
# enable = true;
# stateless = true;
# browsedConf = ''
# BrowsePoll cups.agdsn.network
# LocalQueueNamingRemoteCUPS RemoteName
# '';
# drivers = with pkgs; [ cups-kyocera ];
# };
# environment.systemPackages = with pkgs; [ cups ];
services.avahi = {
enable = true;
nssmdns4 = true;
};
services.printing = {
enable = true;
stateless = true;
browsedConf = ''
BrowsePoll cups.agdsn.network
LocalQueueNamingRemoteCUPS RemoteName
'';
drivers = with pkgs; [ cups-kyocera ];
};
}