added stuff
This commit is contained in:
parent
e8d9044d2b
commit
9d0ebdfbd0
907 changed files with 70990 additions and 0 deletions
32
nyx/flake/args.nix
Normal file
32
nyx/flake/args.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue