mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
refactor: abstracted out printer info
This commit is contained in:
parent
0f016463f2
commit
e1a23f5010
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
{flake, ...}: let
|
||||
inherit (flake.config.system.device) printer0 printer1;
|
||||
geneticPPD = "drv:///sample.drv/generic.ppd";
|
||||
genericPPD = "drv:///sample.drv/generic.ppd";
|
||||
pageSize = "Letter";
|
||||
in {
|
||||
hardware.printers = {
|
||||
|
@ -9,7 +9,7 @@ in {
|
|||
name = printer0.label;
|
||||
location = "Downstairs";
|
||||
deviceUri = "https://${printer0.ip.address0}";
|
||||
model = geneticPPD;
|
||||
model = genericPPD;
|
||||
ppdOptions = {
|
||||
PageSize = pageSize;
|
||||
};
|
||||
|
@ -18,7 +18,7 @@ in {
|
|||
name = printer1.label;
|
||||
location = "Upstairs";
|
||||
deviceUri = "https://${printer1.ip.address0}";
|
||||
model = geneticPPD;
|
||||
model = genericPPD;
|
||||
ppdOptions = {
|
||||
PageSize = pageSize;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue