flake: pull printing out into global modules

This commit is contained in:
Infinidoge 2025-03-11 14:05:31 -04:00
parent 28c5624eb8
commit e941f94e3c
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A
6 changed files with 58 additions and 89 deletions

View file

@ -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;