mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
chore: automatically get (impure) current system for rekeying.
This commit is contained in:
parent
12d840c7bf
commit
3730ae7cf7
2 changed files with 5 additions and 1 deletions
|
@ -27,7 +27,9 @@
|
|||
extraEncryptionPubkeys
|
||||
;
|
||||
|
||||
forceRekeyOnSystem = "x86_64-linux";
|
||||
# This is technically impure, but intended. We need to rekey on the
|
||||
# current system due to yubikey availability.
|
||||
forceRekeyOnSystem = builtins.extraBuiltins.unsafeCurrentSystem;
|
||||
hostPubkey = let
|
||||
pubkeyPath = ../.. + "/${nodeName}/secrets/host.pub";
|
||||
in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue