aux: label printer permissions

This commit is contained in:
Sebastien Bourdeauducq 2022-12-10 19:17:33 +08:00
parent dbc9f4c68d
commit 0052d22c9e

View File

@ -208,6 +208,12 @@ in
services.backupdl.enable = true; services.backupdl.enable = true;
services.udev.extraRules =
''
# label printer
SUBSYSTEM=="usb", ATTRS{idVendor}=="07cf", ATTRS{idProduct}=="4204", MODE="0660", GROUP="plugdev"
'';
nix.settings.trusted-public-keys = ["nixbld.m-labs.hk-1:5aSRVA5b320xbNvu30tqxVPXpld73bhtOeH6uAjRyHc="]; nix.settings.trusted-public-keys = ["nixbld.m-labs.hk-1:5aSRVA5b320xbNvu30tqxVPXpld73bhtOeH6uAjRyHc="];
nix.settings.substituters = ["https://nixbld.m-labs.hk" "https://cache.nixos.org"]; nix.settings.substituters = ["https://nixbld.m-labs.hk" "https://cache.nixos.org"];
nix.settings.trusted-users = ["sb"]; nix.settings.trusted-users = ["sb"];