Move printing module

This commit is contained in:
Johannes Rothe 2024-12-22 23:54:16 +01:00
parent 99e9229b09
commit c735356011
Signed by: onjen
GPG Key ID: 73F092605AF3286C
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
{
imports = [
../../nixos/desktop/printing
../../modules/printing.nix
];
# Bootloader.

View File

@ -1,4 +1,4 @@
{ inputs, lib, config, pkgs, ... }: {
{ pkgs, ... }: {
# Enable CUPS to print documents.
services.printing.enable = true;
@ -10,7 +10,7 @@
};
services.printing.drivers = [
(pkgs.writeTextDir "share/cups/model/kyocera_fs-1300d.ppd" (builtins.readFile ../../../files/kyocera_fs-1300d.ppd))
(pkgs.writeTextDir "share/cups/model/kyocera_fs-1300d.ppd" (builtins.readFile ../files/kyocera_fs-1300d.ppd))
];
hardware.printers = {
ensurePrinters = [