flake/darwin/profiles/core/nix/flake.nix

18 lines
435 B
Nix
Raw Normal View History

2023-12-13 11:02:11 +00:00
{
inputs,
pkgs,
...
}: {
# Enable Flakes
nix.settings.experimental-features = ["nix-command" "flakes"];
2023-12-13 11:02:11 +00:00
# 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];
2023-10-14 02:20:42 +00:00
}