mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
fix: prevent path -> string conversion in hostPubkey definition, which
caused repeated unnecessary rekeying
This commit is contained in:
parent
24655ece76
commit
e8f50ab906
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
|||
# current system due to yubikey availability.
|
||||
forceRekeyOnSystem = builtins.extraBuiltins.unsafeCurrentSystem;
|
||||
hostPubkey = let
|
||||
pubkeyPath = "${nodePath}/secrets/host.pub";
|
||||
pubkeyPath = nodePath + "/secrets/host.pub";
|
||||
in
|
||||
lib.mkIf (lib.pathExists pubkeyPath || lib.trace "Missing pubkey for ${nodeName}: ${toString pubkeyPath} not found, using dummy replacement key for now." false)
|
||||
pubkeyPath;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue