modules/rtlamr2mqtt: fix RuntimeDir and link in via modules default

This commit is contained in:
Aaron Bieber 2023-09-06 07:29:03 -06:00
parent 8cf0711c4d
commit fc071c3432
No known key found for this signature in database
3 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,6 @@ in {
_module.args.isUnstable = false;
imports = [
./hardware-configuration.nix
../../modules/rtlamr2mqtt.nix
];
hardware.rtl-sdr.enable = true;

View File

@ -2,6 +2,7 @@
imports = [
./golink.nix
./gotosocial.nix
./rtlamr2mqtt.nix
./sliding-sync.nix
./ssh-fido-agent.nix
./ts-rev-prox.nix

View File

@ -72,7 +72,7 @@ in {
User = cfg.user;
Group = cfg.group;
RuntimeDirectory = "/var/lib/rtlamr2mqtt";
RuntimeDirectory = "rtlamr2mqtt";
ExecStart = "${cfg.package}/bin/rtlamr2mqtt ${prettyJSON cfg.configuration}";
};