perf: Home-manager to module
feat: Optionise config
This commit is contained in:
9
modules/host/printing.nix
Normal file
9
modules/host/printing.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ config, lib, ... }:
|
||||
|
||||
lib.mkIf config.services.printing.enable {
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user