added printers

This commit is contained in:
willifan 2024-05-13 21:28:00 +02:00
parent 3696b6b40a
commit 924b849bd4
2 changed files with 11 additions and 0 deletions

View file

@ -4,6 +4,7 @@
imports = [ imports = [
./nix-ld.nix ./nix-ld.nix
./boot.nix ./boot.nix
./printers.nix
]; ];
networking.networkmanager.enable = true; networking.networkmanager.enable = true;

10
hosts/common/printers.nix Normal file
View file

@ -0,0 +1,10 @@
{ pkgs, ... }:
{
services.printing.enable = true;
services.avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
}