summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index 036e356..93158a6 100644
--- a/flake.nix
+++ b/flake.nix
@@ -132,7 +132,7 @@
});
};
- secret-file = mkOption {
+ secret-path = mkOption {
description = "Path to file containing the secret given to GitHub.";
type = types.path;
example = "/run/github_secret.txt";
@@ -192,7 +192,7 @@
serviceConfig =
let
config = {
- "secret_file" = cfg.secret-file;
+ "secret_path" = cfg.secret-path;
"commands" = cfg.commands;
};
@@ -250,7 +250,7 @@
];
# The secret to be used when authenticating event's signature.
- secret-file = toString (pkgs.writeText "secret.txt" "mysecret");
+ secret-path = toString (pkgs.writeText "secret.txt" "mysecret");
};
environment.systemPackages = [