major rewrite
This commit is contained in:
parent
47a79eea64
commit
4adf705a13
20 changed files with 50 additions and 294 deletions
22
modules/system/nix/registry.nix
Normal file
22
modules/system/nix/registry.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (inputs) nixpkgs;
|
||||
nixpkgsPath = nixpkgs.outPath;
|
||||
in {
|
||||
# Big thanks to Dianimo for this!
|
||||
nix = {
|
||||
registry = {
|
||||
nixpkgs.flake = inputs.nixpkgs;
|
||||
default.flake = inputs.nixpkgs;
|
||||
};
|
||||
|
||||
nixPath = [
|
||||
"nixpkgs=${nixpkgsPath}"
|
||||
"n=${nixpkgsPath}"
|
||||
"default=${nixpkgsPath}"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue