Enable driverless printing

This commit is contained in:
SebastianStork 2024-03-21 11:48:23 +01:00
parent 92862ba5aa
commit ce62cdff75
3 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{
config,
lib,
...
}: {
options.myConfig.printing.enable = lib.mkEnableOption "";
config = lib.mkIf config.myConfig.printing.enable {
services.printing.enable = true;
services.avahi = {
enable = true;
nssmdns = true;
openFirewall = true;
};
};
}