move printing to nixosModules
This commit is contained in:
parent
a377c8e30b
commit
c0d650d54f
5 changed files with 23 additions and 17 deletions
12
nixosModules/printing.nix
Normal file
12
nixosModules/printing.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
services = {
|
||||
# Enable CUPS to print documents.
|
||||
printing.enable = true;
|
||||
|
||||
avahi = {
|
||||
enable = true; # runs the Avahi daemon
|
||||
nssmdns4 = true; # enables the mDNS NSS plug-in
|
||||
openFirewall = true; # opens the firewall for UDP port 5353
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue