1 parent
1947ee0c9f
commit
6fa74fead8
22 files changed
+116
-144
No files matched your search
@@ -1,14 +1,13 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
outputs,
|
||||
paths,
|
||||
lib',
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
hosts = lib.attrNames outputs.nixosConfigurations;
|
||||
keyPath = hostname: paths.hosts + "/${hostname}/ssh_host.pub";
|
||||
hosts = lib'.nixosHosts;
|
||||
keyPath = hostname: lib'.hostsPath + "/${hostname}/ssh_host.pub";
|
||||
hostsWithKeys = lib.filter (hostname: builtins.pathExists (keyPath hostname)) hosts;
|
||||
in
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user