chore(bbuddy): module cleanup

This commit is contained in:
arcnmx 2024-10-29 09:48:44 -07:00
parent 99baf8dec6
commit 2687644d41

View file

@ -1,11 +1,9 @@
{ {
config, config,
lib, lib,
utils,
pkgs, pkgs,
... ...
}: let }: let
inherit (utils) escapeSystemdPath;
inherit (lib.options) mkOption mkEnableOption mkPackageOption; inherit (lib.options) mkOption mkEnableOption mkPackageOption;
inherit (lib.modules) mkIf mkMerge mkOptionDefault mkDefault; inherit (lib.modules) mkIf mkMerge mkOptionDefault mkDefault;
inherit (lib.attrsets) mapAttrs' nameValuePair; inherit (lib.attrsets) mapAttrs' nameValuePair;
@ -85,7 +83,7 @@ in {
}; };
}; };
# https://github.com/Forceu/barcodebuddy/blob/master/example/bbuddy-grabInput.conf # https://github.com/Forceu/barcodebuddy/blob/master/example/bbuddy-grabInput.service
conf.systemd.services.barcodebuddy-scanner = let conf.systemd.services.barcodebuddy-scanner = let
RuntimeDirectory = "barcodebuddy-scanner"; RuntimeDirectory = "barcodebuddy-scanner";
apiKeyFile = "apikey.env"; apiKeyFile = "apikey.env";