build(xatu): add flake package #78

Closed
alexion wants to merge 8 commits from feat/package-xatu into main
3 changed files with 5 additions and 4 deletions
Showing only changes of commit 44fab7a24d - Show all commits

View File

@@ -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) (
builtins.readDir root
);

View File

@@ -3,5 +3,5 @@
util,
}:
{
imports = util.collectNixFiles root;
imports = util.flake.collectNixFiles root;
}

View File

@@ -1,6 +1,7 @@
{ flakeUtil, lib }:
flakeUtil
// {
{
flake = flakeUtil;
bridgeName = id: "br-vlan${toString id}";
deriveMac =