refactor(dotfiles): namespace shared flake utilities
This commit is contained in:
1 parent
91ffef19ea
commit
44fab7a24d
3 files changed
+5
-4
No files matched your search
@@ -275,7 +275,7 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
files = util.collectNixFiles root;
|
files = util.flake.collectNixFiles root;
|
||||||
guestFiles = lib.filterAttrs (file: type: type == "regular" && lib.hasSuffix ".nix" file) (
|
guestFiles = lib.filterAttrs (file: type: type == "regular" && lib.hasSuffix ".nix" file) (
|
||||||
builtins.readDir root
|
builtins.readDir root
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -3,5 +3,5 @@
|
|||||||
util,
|
util,
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
imports = util.collectNixFiles root;
|
imports = util.flake.collectNixFiles root;
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
{ flakeUtil, lib }:
|
{ flakeUtil, lib }:
|
||||||
flakeUtil
|
{
|
||||||
// {
|
flake = flakeUtil;
|
||||||
|
|
||||||
bridgeName = id: "br-vlan${toString id}";
|
bridgeName = id: "br-vlan${toString id}";
|
||||||
|
|
||||||
deriveMac =
|
deriveMac =
|
||||||
|
|||||||
Reference in new issue
Block a user