Fix properties.nix path loading

This commit is contained in:
2023-04-21 23:24:05 -06:00
parent 0ef689b750
commit 38c2e5aece
3 changed files with 7 additions and 23 deletions

View File

@@ -1,8 +1,6 @@
let
lib = (import <nixpkgs> { }).lib;
sshKeys = (import ../common/machine-info/moduleless.nix {
machinesPath = ../machines;
}).machines.ssh;
sshKeys = (import ../common/machine-info/moduleless.nix { }).machines.ssh;
# add userkeys to all roles so that I can r/w the secrets from my personal computers
roles = lib.mapAttrs (role: hosts: hosts ++ sshKeys.userKeys) sshKeys.hostKeysByRole;