refactor: rename utils to lib'
check / lint (push) Successful in 15s

This commit is contained in:
hektor committed 2026-11-06 14:35:01 +01:00
1 parent 1947ee0c9f
commit 6fa74fead8
22 files changed
+116 -144

No files matched your search

+3 -4
View File
@@ -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
{