Summary Files Commits Branches @commit @diff @stats
path: root / modules / personal / hw-printers-scanners.nix
diff options
context:
space:
mode:
1 files changed, 19 insertions, 0 deletions
-rw-r--r--modules/personal/hw-printers-scanners.nix19
diff --git a/modules/personal/hw-printers-scanners.nix b/modules/personal/hw-printers-scanners.nix
new file mode 100644
index 0000000..7e88752
--- /dev/null
+++ b/modules/personal/hw-printers-scanners.nix
@@ -0,0 +1,19 @@
+{ pkgs, ... }: let
+ epsonscan2_Unfree = pkgs.epsonscan2.override {
+ withNonFreePlugins = true;
+ withGui = true;
+ };
+in {
+ environment.systemPackages = with pkgs; [
+ epkowa
+ epsonscan2_Unfree
+ ];
+
+ # Enable CUPS to print documents.
+ services.printing.enable = true;
+
+ hardware.sane = {
+ enable = true;
+ extraBackends = [ epsonscan2_Unfree ];
+ };
+}