Printing support

This commit is contained in:
Geoffrey Frogeye 2024-01-28 12:13:27 +01:00
parent 46db2dd34f
commit f30abd991c
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
2 changed files with 11 additions and 0 deletions

View file

@ -8,6 +8,7 @@
./desktop.nix ./desktop.nix
./gaming ./gaming
./geoffrey.nix ./geoffrey.nix
./printing
./wireless.nix ./wireless.nix
]; ];
} }

10
os/printing/default.nix Normal file
View file

@ -0,0 +1,10 @@
{ lib, config, ... }:
{
config = lib.mkIf config.services.printing.enable {
services.avahi = {
enable = true;
nssmdns = true;
openFirewall = true;
};
};
}