diff --git a/aux-etc-nixos/configuration.nix b/aux-etc-nixos/configuration.nix index fb9ff2f3..7b1c0d18 100644 --- a/aux-etc-nixos/configuration.nix +++ b/aux-etc-nixos/configuration.nix @@ -208,6 +208,12 @@ in 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.substituters = ["https://nixbld.m-labs.hk" "https://cache.nixos.org"]; nix.settings.trusted-users = ["sb"];