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

+4 -4
View File
@@ -5,18 +5,18 @@
let
inherit (inputs.nixpkgs) lib;
utils = import ../utils { inherit lib; };
lib' = import ../lib { inherit lib; };
# only include hosts that need auto rollback (until `colmena` supports it)
# `colmena` is used for other hosts (see ./colmena.nix)
hostnames = lib.filter (
hostname: (utils.hostMeta ../hosts/${hostname}).deploy.autoRollback or false
) (utils.dirNames ../hosts);
hostname: (lib'.hostMeta hostname).deploy.autoRollback or false
) lib'.nixosHosts;
mkNode =
hostname:
let
meta = utils.hostMeta ../hosts/${hostname};
meta = lib'.hostMeta hostname;
in
{
inherit hostname;