Printing support
This commit is contained in:
parent
46db2dd34f
commit
f30abd991c
|
@ -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
10
os/printing/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{ lib, config, ... }:
|
||||||
|
{
|
||||||
|
config = lib.mkIf config.services.printing.enable {
|
||||||
|
services.avahi = {
|
||||||
|
enable = true;
|
||||||
|
nssmdns = true;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue