diff --git a/nixos/profiles/core/nix/flake.nix b/nixos/profiles/core/nix/flake.nix index dcfcd25..641dea6 100755 --- a/nixos/profiles/core/nix/flake.nix +++ b/nixos/profiles/core/nix/flake.nix @@ -1,10 +1,20 @@ -{pkgs, ...}: { +{ + pkgs, + inputs, + ... +}: { # Enable Flakes nix.settings.experimental-features = ["nix-command" "flakes"]; # Disable nix-channel nix.channel.enable = false; + # Disable flake-registry + # https://nixos-and-flakes.thiscute.world/best-practices/nix-path-and-flake-registry + nix.settings.flake-registry = ""; + nix.registry.nixpkgs.flake = inputs.nixpkgs; + nix.registry.nixpkgs-stable.flake = inputs.nixpkgs-stable; + # Install Git environment.systemPackages = [pkgs.git];