17 lines
257 B
Nix
17 lines
257 B
Nix
{ pkgs, ... }:
|
|
{
|
|
services.printing = {
|
|
enable = true;
|
|
drivers = [
|
|
pkgs.hplipWithPlugin
|
|
pkgs.hplip
|
|
];
|
|
};
|
|
environment.persistence."/state".directories = [
|
|
{
|
|
directory = "/var/lib/cups";
|
|
mode = "755";
|
|
}
|
|
];
|
|
}
|