25
hosts/common/system/configs/printing/default.nix
Normal file
25
hosts/common/system/configs/printing/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
services = {
|
||||
printing = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
drivers = with pkgs; [
|
||||
epson-escpr # Greece, Athens, Home
|
||||
];
|
||||
};
|
||||
|
||||
avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
ipv6 = true;
|
||||
nssmdns6 = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
};
|
||||
|
||||
environment.persistence."/persist" = {
|
||||
directories = [ "/var/lib/cups/ppd" ];
|
||||
files = [ "/var/lib/cups/printers.conf" ];
|
||||
};
|
||||
}
|
@@ -19,6 +19,7 @@
|
||||
../common/system/configs/ntp
|
||||
../common/system/configs/pipewire
|
||||
../common/system/configs/plymouth
|
||||
../common/system/configs/printing
|
||||
../common/system/configs/ranger
|
||||
../common/system/configs/sops
|
||||
../common/system/configs/ssh
|
||||
|
Reference in New Issue
Block a user