split config

This commit is contained in:
Vinzenz Schroeter 2024-10-26 12:32:15 +02:00
parent 1602292781
commit 5944fe5cca
19 changed files with 271 additions and 276 deletions

19
modules/printing.nix Normal file
View file

@ -0,0 +1,19 @@
{
config,
pkgs,
lib,
...
}: {
config = {
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
};
};
};
}