feat: Hud-db packageset
This commit is contained in:
13
tf2/packages/huds/hud-db/default.nix
Normal file
13
tf2/packages/huds/hud-db/default.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ mkTf2Config, fetchFromGitHub }:
|
||||
|
||||
builtins.mapAttrs
|
||||
(name: e: mkTf2Config {
|
||||
pname = name;
|
||||
env.description = e.description;
|
||||
custom = [
|
||||
(fetchFromGitHub (builtins.removeAttrs e.src ["__type"] // {
|
||||
inherit name;
|
||||
}))
|
||||
];
|
||||
})
|
||||
(builtins.fromJSON (builtins.readFile ./hud-db.json))
|
||||
Reference in New Issue
Block a user