Add printer.
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
# Importing necessary setup for Steam.
|
# Importing necessary setup for Steam.
|
||||||
imports = [ ./builds/steam/default.nix ];
|
imports = [ ./builds/steam/default.nix ./home/extras/printer.nix ];
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home = {
|
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 =
|
addTV =
|
||||||
"xrandr --output eDP-1 --auto --output HDMI-1 --mode 1920x1080 --left-of eDP-1";
|
"xrandr --output eDP-1 --auto --output HDMI-1 --mode 1920x1080 --left-of eDP-1";
|
||||||
conWG = "ssh elias@logout.nonagon.dev -p 6969";
|
conWG = "ssh elias@logout.nonagon.dev -p 6969";
|
||||||
|
conWS = "ssh elias@192.168.31.200";
|
||||||
};
|
};
|
||||||
autosuggestion.enable = true;
|
autosuggestion.enable = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user