cups: Add elma
This commit is contained in:
parent
298ef93ed5
commit
12e24d0761
|
@ -8,7 +8,10 @@ lib.mkIf config.sbruder.gui.enable {
|
||||||
enable = true;
|
enable = true;
|
||||||
drivers = with pkgs; [
|
drivers = with pkgs; [
|
||||||
gutenprint
|
gutenprint
|
||||||
];
|
] ++ lib.optional config.sbruder.unfree.allowSoftware (unstable.cups-kyocera-ecosys-m552x-p502x.override {
|
||||||
|
# in Kyocera terms, EU means duplex enabled by default
|
||||||
|
region = "EU";
|
||||||
|
});
|
||||||
};
|
};
|
||||||
avahi.enable = true;
|
avahi.enable = true;
|
||||||
};
|
};
|
||||||
|
@ -19,5 +22,11 @@ lib.mkIf config.sbruder.gui.enable {
|
||||||
deviceUri = "socket://192.168.178.26";
|
deviceUri = "socket://192.168.178.26";
|
||||||
model = "${gutenprintWithVersion}://bjc-TS3100-series/expert";
|
model = "${gutenprintWithVersion}://bjc-TS3100-series/expert";
|
||||||
}
|
}
|
||||||
|
] ++ lib.optionals config.sbruder.unfree.allowSoftware [
|
||||||
|
{
|
||||||
|
name = "elma";
|
||||||
|
deviceUri = "socket://elma.home.sbruder.de";
|
||||||
|
model = "Kyocera/Kyocera ECOSYS P5021cdn.PPD";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,6 +26,7 @@ in
|
||||||
"vista-fonts"
|
"vista-fonts"
|
||||||
"wallpaper-unfree" # defined in users/simon/modules/sway.nix
|
"wallpaper-unfree" # defined in users/simon/modules/sway.nix
|
||||||
] ++ lib.optionals cfg.allowSoftware [
|
] ++ lib.optionals cfg.allowSoftware [
|
||||||
|
"cups-kyocera-ecosys-m552x-p502x" # exception: the file header says MIT license, but explicitly forbids modifications WTF?
|
||||||
"drone-runner-exec" # exception: same as drone.io
|
"drone-runner-exec" # exception: same as drone.io
|
||||||
"drone.io" # exception: is open source (but has usage restriction)
|
"drone.io" # exception: is open source (but has usage restriction)
|
||||||
"fahclient" # exception: for science
|
"fahclient" # exception: for science
|
||||||
|
|
Loading…
Reference in a new issue