about summary refs log tree commit diff
path: root/nixos/modules/services/web-apps/komga.nix
diff options
context:
space:
mode:
authornuko2024-03-01 15:12:45 +1300
committernu-nu-ko2024-03-02 13:56:20 +1300
commit636584b3ff55e7d2e6e80fef43e5e4644c1d09ef (patch)
tree016a3d747b7fac5fe9e81ac8e476ad7c61bb909b /nixos/modules/services/web-apps/komga.nix
parentb18bcf3a048f711bcb30857beee136c238f598fc (diff)
nixos/komga: use lib.getExe
Diffstat (limited to 'nixos/modules/services/web-apps/komga.nix')
-rw-r--r--nixos/modules/services/web-apps/komga.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/web-apps/komga.nix b/nixos/modules/services/web-apps/komga.nix
index 68466c125d30..d7ab2a9e612e 100644
--- a/nixos/modules/services/web-apps/komga.nix
+++ b/nixos/modules/services/web-apps/komga.nix
@@ -49,7 +49,7 @@ in
 
   config =
     let
-      inherit (lib) mkIf;
+      inherit (lib) mkIf getExe;
     in
     mkIf cfg.enable {
 
@@ -84,7 +84,7 @@ in
 
           Type = "simple";
           Restart = "on-failure";
-          ExecStart = "${pkgs.komga}/bin/komga";
+          ExecStart = getExe pkgs.komga;
 
           StateDirectory = mkIf (cfg.stateDir == "/var/lib/komga") "komga";