Add printer.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home = {
|
||||
|
||||
19
home/extras/printer.nix
Normal file
19
home/extras/printer.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
services.printing.drivers = [ pkgs.epson-escpr ];
|
||||
hardware.printers = {
|
||||
ensurePrinters = [{
|
||||
name = "Epson-XP-520";
|
||||
location = "Home";
|
||||
deviceUri = "http://192.168.178.34:631/ipp/print";
|
||||
model =
|
||||
"epson-inkjet-printer-escpr/Epson-XP-520_Series-epson-escpr-en.ppd";
|
||||
ppdOptions = {
|
||||
PageSize = "A4";
|
||||
Ink = "Mono";
|
||||
};
|
||||
}];
|
||||
ensureDefaultPrinter = "Epson-XP-520";
|
||||
};
|
||||
}
|
||||
@@ -17,6 +17,7 @@
|
||||
addTV =
|
||||
"xrandr --output eDP-1 --auto --output HDMI-1 --mode 1920x1080 --left-of eDP-1";
|
||||
conWG = "ssh elias@logout.nonagon.dev -p 6969";
|
||||
conWS = "ssh elias@192.168.31.200";
|
||||
};
|
||||
autosuggestion.enable = true;
|
||||
enableCompletion = true;
|
||||
|
||||
Reference in New Issue
Block a user