forked from M-Labs/it-infra
aux: label printer permissions
This commit is contained in:
parent
dbc9f4c68d
commit
0052d22c9e
|
@ -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"];
|
||||||
|
|
Loading…
Reference in New Issue