{,nixos/}pocket-id: make pocket-id-backend subpackage the main package

This commit is contained in:
Gutyina Gergő 2025-05-27 16:25:46 +02:00
parent ab1ce1ea5b
commit cf7ece2830
No known key found for this signature in database
3 changed files with 14 additions and 32 deletions

View file

@ -134,8 +134,8 @@ in
];
systemd.services = {
pocket-id-backend = {
description = "Pocket ID backend";
pocket-id = {
description = "Pocket ID";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
restartTriggers = [
@ -149,7 +149,7 @@ in
User = cfg.user;
Group = cfg.group;
WorkingDirectory = cfg.dataDir;
ExecStart = "${cfg.package}/bin/pocket-id-backend";
ExecStart = "${cfg.package}/bin/pocket-id";
Restart = "always";
EnvironmentFile = [
cfg.environmentFile