forked from the-distro/infra
15 lines
304 B
Nix
15 lines
304 B
Nix
{ lib, pkgs, ... }:
|
|
{
|
|
nix.extraOptions = ''
|
|
experimental-features = nix-command flakes
|
|
'';
|
|
|
|
# Provision a useful nixpkgs in NIX_PATH and flake registry on infra
|
|
# machines.
|
|
nixpkgs.flake = {
|
|
source = lib.cleanSource pkgs.path;
|
|
setNixPath = true;
|
|
setFlakeRegistry = true;
|
|
};
|
|
}
|