trying to figure out flake registry

This commit is contained in:
Matt Nish-Lapidus 2025-03-09 12:19:18 -04:00
parent 7591eb8ad7
commit d01eacd856

View file

@ -65,19 +65,28 @@
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
]; ];
nix-path = [ "nixpkgs=${inputs.nixpkgs}" ]; # nix-path = [
# nix-path = lib.mkForce "nixpkgs=/etc/nix/inputs/nixpkgs"; # "nixpkgs=${inputs.nixpkgs.outPath}"
# "nixos-config=/home/emenel/source/nixos-config"
# ];
}; };
registry = { registry = {
nixpkgs.flake = inputs.nixpkgs; # nixpkgs.flake = inputs.nixpkgs;
emenel-templates.flake = inputs.emenel-templates; emenel-templates.flake = inputs.emenel-templates;
}; };
# nixPath = [
# "nixpkgs=${inputs.nixpkgs.outPath}"
# "nixos-config=${toString ./configuration.nix}"
# ];
channel.enable = false; # remove nix-channel related tools & configs, we use flakes instead. channel.enable = false; # remove nix-channel related tools & configs, we use flakes instead.
}; };
# environment.etc."nix/inputs/nixpkgs".source = "${inputs.nixpkgs}";
# Set your time zone. # Set your time zone.
time.timeZone = "America/Toronto"; time.timeZone = "America/Toronto";