added printers
This commit is contained in:
parent
3696b6b40a
commit
924b849bd4
2 changed files with 11 additions and 0 deletions
|
@ -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
10
hosts/common/printers.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
services.printing.enable = true;
|
||||||
|
|
||||||
|
services.avahi = {
|
||||||
|
enable = true;
|
||||||
|
nssmdns4 = true;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue