build(xatu): add flake package #78

Closed
alexion wants to merge 8 commits from refs/pull/78/head into main
pull from: refs/pull/78/head
3 changed files with 5 additions and 4 deletions
Showing only changes of commit 44fab7a24d - Show all commits

No files matched your search

+1 -1
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) ( guestFiles = lib.filterAttrs (file: type: type == "regular" && lib.hasSuffix ".nix" file) (
builtins.readDir root builtins.readDir root
); );
+1 -1
View File
@@ -3,5 +3,5 @@
util, util,
}: }:
{ {
imports = util.collectNixFiles root; imports = util.flake.collectNixFiles root;
} }
+3 -2
View File
@@ -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 =