{ pkgs, inputs, lib, ... }: { # 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 = ""; # Add each flake input as a registry # To make nix3 commands consistent with the flake # https://github.com/Misterio77/nix-config/blob/main/hosts/common/global/nix.nix nix.registry = lib.mapAttrs (_: value: {flake = value;}) inputs; # Install Git environment.systemPackages = [pkgs.git]; # Does not work with Flake based configurations system.copySystemConfiguration = false; programs.command-not-found.enable = false; }