Move printing module
This commit is contained in:
parent
99e9229b09
commit
c735356011
@ -2,7 +2,7 @@
|
||||
|
||||
{
|
||||
imports = [
|
||||
../../nixos/desktop/printing
|
||||
../../modules/printing.nix
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
|
@ -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 = [
|
Loading…
x
Reference in New Issue
Block a user