nix: remove channels fully
This commit is contained in:
parent
ec578e21fa
commit
335385ec1d
2 changed files with 17 additions and 23 deletions
|
@ -1,18 +1,9 @@
|
|||
{inputs, ...}: let
|
||||
inherit (inputs) nixpkgs;
|
||||
nixpkgsPath = nixpkgs.outPath;
|
||||
in {
|
||||
{inputs, ...}: {
|
||||
# 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