🚀 enable avahi based on printing service
parent
5c5cfedc98
commit
cdee0d6bc9
|
@ -11,11 +11,11 @@
|
|||
];
|
||||
|
||||
services = {
|
||||
avahi = {
|
||||
printing = {
|
||||
enable = true;
|
||||
drivers = with pkgs; [ epson-escpr2 epson-escpr ];
|
||||
};
|
||||
avahi = lib.mkIf config.services.printing.enable {
|
||||
enable = true;
|
||||
nssmdns = true;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue