We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c0064b commit b15e37cCopy full SHA for b15e37c
flake.nix
@@ -96,7 +96,7 @@
96
description = "Timeout for incoming HTTP requests";
97
type = types.str;
98
};
99
- pkg = mkOption {
+ package = mkOption {
100
default = rgit;
101
description = "rgit package to use";
102
type = types.package;
@@ -119,7 +119,7 @@
119
path = [ pkgs.git ];
120
serviceConfig = {
121
Type = "exec";
122
- 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}";
123
Restart = "on-failure";
124
125
User = "rgit";
0 commit comments