secrets: fix flake url

This commit is contained in:
Max Headroom 2023-10-25 17:33:08 +02:00
parent cf807b7b61
commit 0ed53e9a3f

View file

@ -1,7 +1,7 @@
let let
max = (import ./users/max/userinfo.nix null).sshKeys; max = (import ./users/max/userinfo.nix null).sshKeys;
hosts = builtins.mapAttrs (_: v: v._module.specialArgs.depot.reflection) hosts = builtins.mapAttrs (_: v: v._module.specialArgs.depot.reflection)
(builtins.getFlake "git+file:.").nixosConfigurations; (builtins.getFlake "git+file://${builtins.getEnv "PWD"}").nixosConfigurations;
systemKeys = x: x.ssh.id.publicKey or null; systemKeys = x: x.ssh.id.publicKey or null;
in with hosts; in with hosts;
{ {