flake: pull printing out into global modules
This commit is contained in:
parent
28c5624eb8
commit
e941f94e3c
6 changed files with 58 additions and 89 deletions
|
@ -30,9 +30,6 @@
|
|||
gpu.nvidia = true;
|
||||
wireless.enable = true;
|
||||
form.desktop = true;
|
||||
peripherals = {
|
||||
printing.enable = true;
|
||||
};
|
||||
};
|
||||
services = {
|
||||
apcupsd = {
|
||||
|
@ -54,17 +51,7 @@
|
|||
];
|
||||
};
|
||||
|
||||
services.printing.drivers = with pkgs; [
|
||||
tmx-cups-ppd
|
||||
];
|
||||
|
||||
hardware.printers.ensurePrinters = [
|
||||
{
|
||||
name = "EPSON-TM-m30";
|
||||
deviceUri = "usb://EPSON/TM-m30II-NT?serial=5839394D0032780000";
|
||||
model = "tm-m30-rastertotmt.ppd.gz";
|
||||
}
|
||||
];
|
||||
services.printing.enable = true;
|
||||
|
||||
virtualisation.enable = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue