diff options
author | Linnnus <[email protected]> | 2024-10-02 08:01:57 +0200 |
---|---|---|
committer | Linnnus <[email protected]> | 2024-10-02 08:03:19 +0200 |
commit | b6e1137d89a90859d8943d9377e4d14091a11af6 (patch) | |
tree | ee46b50505e1c5b50de932d9fdeb7bd662c07975 /flake.nix | |
parent | f5c119fdaf444fc0b1b59c1e07fd32a5f6ddf069 (diff) |
Rename secret_{file => path}, add max_idle_time to config, Merge {Raw,}Config
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 = [ |