Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange Behavior with signKeyPaths setting #485

Open
jq-bb opened this issue Dec 19, 2024 · 0 comments
Open

Strange Behavior with signKeyPaths setting #485

jq-bb opened this issue Dec 19, 2024 · 0 comments

Comments

@jq-bb
Copy link

jq-bb commented Dec 19, 2024

Hi there!

I'm getting a strange bug with the signKeyPaths setting.

       error: The option `services.harmonia.signKeyPaths' does not exist. Definition values:
       - In `/nix/store/nx9cy2cr2sp5izbg43p5c0gd7xmbmgh7-source/nix/modules/binaryCache.nix':
           [
             "/run/agenix/harmoniaSecret"
           ]

I'm using the basic config defined in the README.md

  services.harmonia.enable = true;

  # $ nix-store --generate-binary-cache-key cache.turtle-paridae.ts.net secrets/keys/ssh/system/harmonia.secret /secrets/keys/ssh/system/harmonia.pub
  services.harmonia.signKeyPath = config.age.secrets.harmoniaSecret.path;

metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.58, NixOS, 24.11 (Vicuna), 24.11.20241025.18536bf`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.19.6`
 - nixpkgs: `/nix/store/wb6agba4kfsxpbnb5hzlq58vkjzvbsk6-source`


I suspect this is some weird 24.11 vs unstable nixpkgs issue.

Though when I check https://search.nixos.org/options?channel=24.11&show=services.harmonia.signKeyPaths&from=0&size=50&sort=relevance&type=packages&query=harmonia

The option still exists?

For now I just used signKeyPath and that works. Ideally though I don't want to use a deprecated option.

Though, seems worth reporting because it seems to be specifically with signKeyPaths? All the other options can be found by my config?

Thanks!
Justin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant