ma wbob: add brother ql-800
This commit is contained in:
parent
60fb7a1aa1
commit
d030aae272
@ -53,6 +53,7 @@ in {
|
|||||||
|
|
||||||
<stockholm/makefu/2configs/bureautomation> # new hass entry point
|
<stockholm/makefu/2configs/bureautomation> # new hass entry point
|
||||||
<stockholm/makefu/2configs/bureautomation/led-fader.nix>
|
<stockholm/makefu/2configs/bureautomation/led-fader.nix>
|
||||||
|
<stockholm/makefu/2configs/bureautomation/printer.nix>
|
||||||
# <stockholm/makefu/2configs/bureautomation/kalauerbot.nix> now runs in thales
|
# <stockholm/makefu/2configs/bureautomation/kalauerbot.nix> now runs in thales
|
||||||
# <stockholm/makefu/2configs/bureautomation/visitor-photostore.nix>
|
# <stockholm/makefu/2configs/bureautomation/visitor-photostore.nix>
|
||||||
# <stockholm/makefu/2configs/bureautomation/mpd.nix> #mpd is only used for TTS, this is the web interface
|
# <stockholm/makefu/2configs/bureautomation/mpd.nix> #mpd is only used for TTS, this is the web interface
|
||||||
@ -100,7 +101,9 @@ in {
|
|||||||
<stockholm/makefu/2configs/backup/state.nix>
|
<stockholm/makefu/2configs/backup/state.nix>
|
||||||
# temporary
|
# temporary
|
||||||
# <stockholm/makefu/2configs/temp/rst-issue.nix>
|
# <stockholm/makefu/2configs/temp/rst-issue.nix>
|
||||||
{ services.jellyfin.enable = true; }
|
{
|
||||||
|
services.jellyfin.enable = true;
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
krebs = {
|
krebs = {
|
||||||
|
25
makefu/2configs/bureautomation/printer.nix
Normal file
25
makefu/2configs/bureautomation/printer.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{ pkgs, config, ... }:
|
||||||
|
let
|
||||||
|
mainUser = config.krebs.build.user.name;
|
||||||
|
in {
|
||||||
|
services.printing = {
|
||||||
|
enable = true;
|
||||||
|
drivers = with pkgs;[
|
||||||
|
brlaser
|
||||||
|
cups-ptouch
|
||||||
|
];
|
||||||
|
};
|
||||||
|
users.users.kiosk.extraGroups = [ "scanner" "lp" ];
|
||||||
|
state = [ "/var/lib/cups"];
|
||||||
|
users.users.kiosk.packages = with pkgs;[
|
||||||
|
python3Packages.brother-ql
|
||||||
|
libreoffice
|
||||||
|
qrencode
|
||||||
|
imagemagick
|
||||||
|
];
|
||||||
|
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="209b", ATTRS{serial}=="000F1Z401759", MODE="0664", GROUP="lp", SYMLINK+="usb/lp0"
|
||||||
|
'';
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user