move ssh key to variable for DRYness

This commit is contained in:
Joakim Repomaa
2025-02-08 15:38:51 +02:00
committed by Joakim Repomaa
parent 7a24ac5fe6
commit 6aa0640684
4 changed files with 10 additions and 13 deletions
+2 -1
View File
@@ -47,7 +47,8 @@
outputs = { nixpkgs, ... }@inputs:
let
bin.sshPort = 2222;
specialArgs = { inherit inputs bin; };
ssh.publicKeys.yubikey = "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLIUkESu5NnBi1M0+ZjYrkp6/rIFuwc3aguspf98jmOydNce6l65cnS3GRzc9oWx4lu11ahi87ZuE+pYV+gaHm4=";
specialArgs = { inherit inputs bin ssh; };
system = "x86_64-linux";
in
{