about summary refs log tree commit diff
path: root/colmena
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-02-05 02:59:12 +0900
committersefidel <contact@sefidel.net>2023-02-05 03:02:55 +0900
commit02197dd0f141ad5b2bc1e7a668d402320f4df60a (patch)
tree9e783985ba011c451519003a1de384570a632549 /colmena
parentb946cb6694b35fb85697852117096ee85e6cb34a (diff)
downloadnixrc-02197dd0f141ad5b2bc1e7a668d402320f4df60a.tar.gz
nixrc-02197dd0f141ad5b2bc1e7a668d402320f4df60a.zip
project: reformat
Diffstat (limited to 'colmena')
-rw-r--r--colmena/cobalt/modules/soju.nix6
-rw-r--r--colmena/cobalt/services/git-daemon.nix6
2 files changed, 6 insertions, 6 deletions
diff --git a/colmena/cobalt/modules/soju.nix b/colmena/cobalt/modules/soju.nix
index 95f333e..d14082c 100644
--- a/colmena/cobalt/modules/soju.nix
+++ b/colmena/cobalt/modules/soju.nix
@@ -69,7 +69,7 @@ in
 
     httpOrigins = mkOption {
       type = types.listOf types.str;
-      default = [];
+      default = [ ];
       description = lib.mdDoc ''
         List of allowed HTTP origins for WebSocket listeners. The parameters are
         interpreted as shell patterns, see
@@ -79,7 +79,7 @@ in
 
     acceptProxyIP = mkOption {
       type = types.listOf types.str;
-      default = [];
+      default = [ ];
       description = lib.mdDoc ''
         Allow the specified IPs to act as a proxy. Proxys have the ability to
         overwrite the remote and local connection addresses (via the X-Forwarded-\*
@@ -96,7 +96,7 @@ in
 
     extraGroups = mkOption {
       type = types.listOf types.str;
-      default = [];
+      default = [ ];
       description = lib.mdDoc "Extra groups for the dynamic user.";
     };
   };
diff --git a/colmena/cobalt/services/git-daemon.nix b/colmena/cobalt/services/git-daemon.nix
index f0dbad6..21e957e 100644
--- a/colmena/cobalt/services/git-daemon.nix
+++ b/colmena/cobalt/services/git-daemon.nix
@@ -1,8 +1,8 @@
 {
   services.gitDaemon = {
-      enable = true;
-      createUserAndGroup = false;
-      basePath = "/var/lib/gitolite/repositories";
+    enable = true;
+    createUserAndGroup = false;
+    basePath = "/var/lib/gitolite/repositories";
   };
 
   networking.firewall.allowedTCPPorts = [ 9418 ];