diff --git a/hosts/lift/configuration.nix b/hosts/lift/configuration.nix index 2e84f67..6f5abf4 100644 --- a/hosts/lift/configuration.nix +++ b/hosts/lift/configuration.nix @@ -2,7 +2,7 @@ { imports = [ - ../../nixos/desktop/printing + ../../modules/printing.nix ]; # Bootloader. diff --git a/nixos/desktop/printing/default.nix b/modules/printing.nix similarity index 77% rename from nixos/desktop/printing/default.nix rename to modules/printing.nix index cfafb2c..66f8664 100644 --- a/nixos/desktop/printing/default.nix +++ b/modules/printing.nix @@ -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 = [