set up structure for multiple cli commands

The previous cli is now behind the 'serve' subcommand.
This commit is contained in:
Benjamin Lee 2024-08-31 20:51:26 -07:00
parent 1ee3bbb316
commit be87774a3b
No known key found for this signature in database
GPG key ID: FB9624E2885D55A4
4 changed files with 60 additions and 39 deletions

View file

@ -79,7 +79,7 @@ in
# Keep sorted
serviceConfig = {
DynamicUser = true;
ExecStart = "${lib.getExe cfg.package} --config ${configFile}";
ExecStart = "${lib.getExe cfg.package} serve --config ${configFile}";
LockPersonality = true;
MemoryDenyWriteExecute = true;
PrivateDevices = true;