nix: remove channels fully

This commit is contained in:
Charlie Root 2024-09-22 01:47:19 +02:00
commit 335385ec1d
2 changed files with 17 additions and 23 deletions

View file

@ -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}"
];
};
}