diff options
| -rw-r--r-- | nix/module.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/module.nix b/nix/module.nix index ae67512..09c56c1 100644 --- a/nix/module.nix +++ b/nix/module.nix | |||
| @@ -290,7 +290,7 @@ let | |||
| 290 | toString cfg.rejectedColdIndexExpirySecs; | 290 | toString cfg.rejectedColdIndexExpirySecs; |
| 291 | NGIT_NAUGHTY_LIST_EXPIRATION_HOURS = | 291 | NGIT_NAUGHTY_LIST_EXPIRATION_HOURS = |
| 292 | toString cfg.naughtyListExpirationHours; | 292 | toString cfg.naughtyListExpirationHours; |
| 293 | NGIT_ARCHIVE_ALL = toString cfg.archiveAll; | 293 | NGIT_ARCHIVE_ALL = if cfg.archiveAll then "true" else "false"; |
| 294 | NGIT_ARCHIVE_WHITELIST = concatStringsSep "," cfg.archiveWhitelist; | 294 | NGIT_ARCHIVE_WHITELIST = concatStringsSep "," cfg.archiveWhitelist; |
| 295 | NGIT_REPOSITORY_WHITELIST = concatStringsSep "," cfg.repositoryWhitelist; | 295 | NGIT_REPOSITORY_WHITELIST = concatStringsSep "," cfg.repositoryWhitelist; |
| 296 | NGIT_REPOSITORY_BLACKLIST = concatStringsSep "," cfg.repositoryBlacklist; | 296 | NGIT_REPOSITORY_BLACKLIST = concatStringsSep "," cfg.repositoryBlacklist; |
| @@ -299,7 +299,7 @@ let | |||
| 299 | } // optionalAttrs (cfg.relayName != null) { | 299 | } // optionalAttrs (cfg.relayName != null) { |
| 300 | NGIT_RELAY_NAME = cfg.relayName; | 300 | NGIT_RELAY_NAME = cfg.relayName; |
| 301 | } // optionalAttrs (cfg.archiveReadOnly != null) { | 301 | } // optionalAttrs (cfg.archiveReadOnly != null) { |
| 302 | NGIT_ARCHIVE_READ_ONLY = toString cfg.archiveReadOnly; | 302 | NGIT_ARCHIVE_READ_ONLY = if cfg.archiveReadOnly then "true" else "false"; |
| 303 | } // optionalAttrs cfg.metricsEnabled { NGIT_METRICS_ENABLED = "true"; } | 303 | } // optionalAttrs cfg.metricsEnabled { NGIT_METRICS_ENABLED = "true"; } |
| 304 | // optionalAttrs (cfg.syncBootstrapRelayUrl != null) { | 304 | // optionalAttrs (cfg.syncBootstrapRelayUrl != null) { |
| 305 | NGIT_SYNC_BOOTSTRAP_RELAY_URL = cfg.syncBootstrapRelayUrl; | 305 | NGIT_SYNC_BOOTSTRAP_RELAY_URL = cfg.syncBootstrapRelayUrl; |