mirror of
https://github.com/blahai/nyx.git
synced 2025-06-10 16:43:01 -04:00
All this just to get nyx to even build
This commit is contained in:
parent
ed1aafe645
commit
fdfd4e0434
24 changed files with 2272 additions and 0 deletions
17
modules/flake/args.nix
Normal file
17
modules/flake/args.nix
Normal 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 ];
|
||||
};
|
||||
};
|
||||
}
|
7
modules/flake/default.nix
Normal file
7
modules/flake/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
../../systems
|
||||
|
||||
./args.nix
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue