🏡 index : ~doyle/rgit.git

author Jordan Doyle <jordan@doyle.la> 2024-09-28 17:56:52.0 +04:00:00
committer Jordan Doyle <jordan@doyle.la> 2024-09-28 17:56:56.0 +04:00:00
commit
b15e37cfa968b2c8baa63d0574243ede63f7a50e [patch]
tree
1be31207392ab8b6573335e1d3b3bb20246e9f5c
parent
0c0064b99fa26bdfd4299ff5dd9d117bcf1de966
download
b15e37cfa968b2c8baa63d0574243ede63f7a50e.tar.gz

Fix unused package option in flake.nix



Diff

 flake.nix | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/flake.nix b/flake.nix
index 6e39f8a..2b5f7fd 100644
--- a/flake.nix
+++ a/flake.nix
@@ -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;
@@ -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";