added stuff

This commit is contained in:
vali 2024-04-09 23:11:33 +02:00
commit 236b8c2a6b
907 changed files with 70990 additions and 0 deletions

32
nyx/flake/args.nix Normal file
View file

@ -0,0 +1,32 @@
{inputs, ...}: {
perSystem = {
config,
system,
...
}: {
imports = [
{
_module.args = {
pkgs = config.legacyPackages;
pins = import ./npins;
};
}
];
legacyPackages = import inputs.nixpkgs {
inherit system;
config.allowUnfree = true;
config.allowUnsupportedSystem = true;
overlays = [];
};
};
flake = {
# extended nixpkgs library, contains my custom functions
# such as system builders
lib = import (inputs.self + /lib) {inherit inputs;};
# add `pins` to self so that the flake may refer it freely
pins = import ./npins;
};
}