summary refs log tree commit diff
path: root/nixos/modules/services/misc/sourcehut/service.nix
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2022-12-17 19:31:14 -0500
committerfigsoda <figsoda@pm.me>2022-12-17 19:31:14 -0500
commit6bb0dbf91feecfec45382f762206a12de23fd531 (patch)
tree73aef1da22f5fb7b0a9aa1bf08a99be29b87724a /nixos/modules/services/misc/sourcehut/service.nix
parent695d4bc76b9abdc3208a9475d71fdf0f41e925c8 (diff)
nixos: fix typos
Diffstat (limited to 'nixos/modules/services/misc/sourcehut/service.nix')
-rw-r--r--nixos/modules/services/misc/sourcehut/service.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/sourcehut/service.nix b/nixos/modules/services/misc/sourcehut/service.nix
index 37a439ee352b3..aae13e0cc2c92 100644
--- a/nixos/modules/services/misc/sourcehut/service.nix
+++ b/nixos/modules/services/misc/sourcehut/service.nix
@@ -71,7 +71,7 @@ let
       # Note that each systemd service gets its own ${runDir}/config.ini file.
       ExecStartPre = mkBefore [("+"+pkgs.writeShellScript "${serviceName}-credentials" ''
         set -x
-        # Replace values begining with a '<' by the content of the file whose name is after.
+        # Replace values beginning with a '<' by the content of the file whose name is after.
         gawk '{ if (match($0,/^([^=]+=)<(.+)/,m)) { getline f < m[2]; print m[1] f } else print $0 }' ${configIni} |
         ${optionalString (!allowStripe) "gawk '!/^stripe-secret-key=/' |"}
         install -o ${srvCfg.user} -g root -m 400 /dev/stdin ${runDir}/config.ini