Skip to content

Commit

Permalink
Fix unused package option in flake.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
w4 committed Sep 28, 2024
1 parent 0c0064b commit b15e37c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
description = "Timeout for incoming HTTP requests";
type = types.str;
};
pkg = mkOption {
package = mkOption {
default = rgit;
description = "rgit package to use";
type = types.package;
Expand All @@ -119,7 +119,7 @@
path = [ pkgs.git ];
serviceConfig = {
Type = "exec";
ExecStart = "${self.packages.default."${system}"}/bin/rgit --request-timeout ${cfg.requestTimeout} --db-store ${cfg.dbStorePath} ${cfg.bindAddress} ${cfg.repositoryStorePath}";
ExecStart = "${cfg.package}/bin/rgit --request-timeout ${cfg.requestTimeout} --db-store ${cfg.dbStorePath} ${cfg.bindAddress} ${cfg.repositoryStorePath}";
Restart = "on-failure";

User = "rgit";
Expand Down

0 comments on commit b15e37c

Please sign in to comment.