All this just to get nyx to even build

This commit is contained in:
blahai 2025-01-12 18:35:44 +02:00
parent ed1aafe645
commit fdfd4e0434
No known key found for this signature in database
24 changed files with 2272 additions and 0 deletions

17
modules/flake/args.nix Normal file
View file

@ -0,0 +1,17 @@
{inputs, ...}: {
systems = import inputs.systems;
perSystem = {system, ...}: {
# this is what controls how packages in the flake are built, but this is not passed to the
# builders in lib which is important to note, since we have to do something different for
# the builders to work correctly
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
config = {
allowUnfree = true;
allowUnsupportedSystem = true;
};
# overlays = [ inputs.nix-topology.overlays.default ];
};
};
}

View file

@ -0,0 +1,7 @@
{
imports = [
../../systems
./args.nix
];
}