add printer stuff

This commit is contained in:
2025-12-28 10:41:26 +01:00
parent d3bf890015
commit ca815ace16
4 changed files with 48 additions and 1 deletions

30
evince/print-settings Normal file
View File

@@ -0,0 +1,30 @@
[Print Settings]
cups-ColorModel=RGB
evince-print-setting-page-autorotate=true
cups-OutputBin=FaceUp
media-type=Stationery
cups-MediaType=Stationery
cups-job-priority=50
cups-number-up=1
evince-print-setting-page-size=false
cover-before=none
evince-print-setting-page-scale=1
cups-print-scaling=auto
print-at-time=
output-bin=FaceUp
cover-after=none
print-at=now
printer=EPSON_L3270_Series
cups-cupsPrintQuality=Normal
cups-job-sheets=none,none
[Page Setup]
PPDName=A4
DisplayName=A4
Width=210
Height=297
MarginTop=3.0000106811523435
MarginBottom=2.9999999152289494
MarginLeft=2.9999999152289494
MarginRight=2.9999891493055553
Orientation=portrait

View File

@@ -63,6 +63,8 @@
gnome-text-editor
gnome-calculator
obsidian
simple-scan
system-config-printer
# Development tools
neovim

View File

@@ -191,7 +191,7 @@
users.users.lusia = {
isNormalUser = true;
description = "Lukrecja";
extraGroups = [ "wheel" "networkmanager" "docker" "plugdev" ];
extraGroups = [ "wheel" "networkmanager" "docker" "plugdev" "scanner" "lp" ];
initialPassword = "pass";
shell = pkgs.fish;
};
@@ -280,6 +280,13 @@
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = false; # Don't power on bluetooth at boot
hardware.sane.enable = true;
# Configure epsonds for network scanning
environment.etc."sane.d/epsonds.conf".text = ''
net EPSOND80395.local
'';
# Enable OpenTabletDriver
hardware.opentabletdriver.enable = true;
hardware.uinput.enable = true;

8
simple-scan/state Normal file
View File

@@ -0,0 +1,8 @@
[window]
width=712
height=858
is-maximized=false
is-fullscreen=false
[scanner]
scan-type=single