diff --git a/module.nix b/module.nix index 7feb942..3190dbd 100644 --- a/module.nix +++ b/module.nix @@ -9,7 +9,7 @@ in { options.services.mmdvm_host = { - enable = mkEnableOption "mmdvm host service"; + enable = mkEnableOption "MMDVMHost service"; package = mkOption { default = mmdvm_host.x86_64-linux.default; type = types.package; @@ -32,17 +32,17 @@ in wantedBy = [ "multi-user.target" ]; wants = [ "network.target" ]; after = [ "network.target" ]; - description = "mmdvm_host service"; + description = "MMDVMHost service"; serviceConfig = { Type = "exec"; User = cfg.user; Restart = "always"; RestartSec = "3s"; StartLimitIntervalSec = "0"; - RuntimeDirectory = "mmdvm_host"; + RuntimeDirectory = "MMDVMHost"; }; script = '' - exec ${cfg.package}/bin/mmdvm_host + exec ${cfg.package}/bin/MMDVMHost ''; }; };